From 96f6d268d302e2f1f1f47ecd564e7a8a582b4f0e Mon Sep 17 00:00:00 2001 From: hudsonhrh Date: Wed, 12 Mar 2025 20:16:59 -0500 Subject: [PATCH 1/2] test: more rage quit tests --- abis/AccessControl_abi.json | 206 + abis/AddressUpgradeable_abi.json | 1 + abis/Address_abi.json | 1 + abis/BaalSummoner_abi.json | 574 + abis/Baal_abi.json | 1569 +++ abis/Base64_abi.json | 1 + abis/BaseGuard_abi.json | 102 + abis/BaseRelayRecipient_abi.json | 47 + abis/CarefulMath_abi.json | 23 + abis/Checkpoints_abi.json | 1 + abis/CommonBase_abi.json | 1 + abis/CommunityRewardsCalculator_abi.json | 31 + abis/CommunityVault_abi.json | 423 + abis/ContextUpgradeable_abi.json | 15 + abis/Context_abi.json | 1 + abis/Counters_abi.json | 1 + abis/CustomBaalSummoner_abi.json | 574 + abis/CustomBaal_abi.json | 1582 +++ abis/DeployCustomBaalSummoner_abi.json | 22 + abis/DeployHamzaVault_abi.json | 248 + abis/DeploymentSetup_abi.json | 850 ++ abis/DoubleEndedQueue_abi.json | 12 + abis/ECDSAUpgradeable_abi.json | 1 + abis/ECDSA_abi.json | 1 + abis/EIP712Upgradeable_abi.json | 15 + abis/EIP712_abi.json | 1 + abis/ERC1155TokenReceiver_abi.json | 80 + abis/ERC1155_abi.json | 314 + abis/ERC165_abi.json | 21 + abis/ERC1967Proxy_abi.json | 71 + abis/ERC1967UpgradeUpgradeable_abi.json | 60 + abis/ERC1967Upgrade_abi.json | 47 + abis/ERC20Permit_abi.json | 347 + abis/ERC20Votes_abi.json | 584 + abis/ERC20Wrapper_abi.json | 333 + abis/ERC20_abi.json | 288 + abis/EligibilityModule_abi.json | 140 + abis/Enum_abi.json | 1 + abis/EscrowMulticall_abi.json | 56 + abis/EtherPaymentFallback_abi.json | 25 + abis/Executor_abi.json | 1 + abis/FactoryFriendly_abi.json | 80 + abis/FailingToken_abi.json | 262 + abis/FallbackManager_abi.json | 32 + abis/FullRound_abi.json | 864 ++ abis/GnosisSafeMath_abi.json | 1 + abis/GnosisSafeProxyFactory_abi.json | 163 + abis/GnosisSafeProxy_abi.json | 17 + abis/GnosisSafe_abi.json | 1033 ++ abis/GovernanceToken_abi.json | 773 ++ abis/GovernanceVaultTest_abi.json | 906 ++ abis/GovernanceVault_abi.json | 307 + abis/GovernorCompatibilityBravo_abi.json | 1181 ++ abis/GovernorTimelockControl_abi.json | 983 ++ abis/GovernorVotesQuorumFraction_abi.json | 956 ++ abis/GovernorVotes_abi.json | 879 ++ abis/Governor_abi.json | 866 ++ abis/GuardManager_abi.json | 28 + abis/Guard_abi.json | 83 + abis/Guardable_abi.json | 130 + abis/HamzaGovernor_abi.json | 1353 +++ abis/HasSecurityContext_abi.json | 68 + abis/HatsDeployment_abi.json | 265 + abis/HatsErrors_abi.json | 141 + abis/HatsEvents_abi.json | 241 + abis/HatsIdUtilities_abi.json | 298 + abis/HatsSecurityContext_abi.json | 92 + abis/Hats_abi.json | 1901 ++++ abis/IAccessControl_abi.json | 174 + abis/IAvatar_abi.json | 206 + abis/IBaalToken_abi.json | 423 + abis/IBeaconUpgradeable_abi.json | 15 + abis/IBeacon_abi.json | 15 + abis/ICommunityRewardsCalculator_abi.json | 31 + abis/IERC1155Receiver_abi.json | 99 + abis/IERC165_abi.json | 21 + abis/IERC1822ProxiableUpgradeable_abi.json | 15 + abis/IERC1822Proxiable_abi.json | 15 + abis/IERC1967Upgradeable_abi.json | 47 + abis/IERC1967_abi.json | 47 + abis/IERC20Metadata_abi.json | 224 + abis/IERC20Permit_abi.json | 77 + abis/IERC20_abi.json | 185 + abis/IERC721Enumerable_abi.json | 343 + abis/IERC721Metadata_abi.json | 332 + abis/IERC721Receiver_abi.json | 36 + abis/IERC721TokenReceiver_abi.json | 36 + abis/IERC721_abi.json | 287 + abis/IEscrowContract_abi.json | 42 + abis/IGnosisSafe_abi.json | 15 + abis/IGovernorCompatibilityBravo_abi.json | 913 ++ abis/IGovernorTimelock_abi.json | 768 ++ abis/IGovernor_abi.json | 683 ++ abis/IGuard_abi.json | 83 + abis/IHatsEligibility_abi.json | 31 + abis/IHatsIdUtilities_abi.json | 255 + abis/IHatsSecurityContext_abi.json | 58 + abis/IHatsToggle_abi.json | 21 + abis/IHats_abi.json | 1496 +++ abis/IMulticall3_abi.json | 440 + abis/IProxyCreationCallback_abi.json | 30 + abis/IProxy_abi.json | 15 + abis/IPurchaseTracker_abi.json | 106 + abis/IRelayRecipient_abi.json | 34 + abis/ISecurityContext_abi.json | 26 + abis/ISignatureValidatorConstants_abi.json | 1 + abis/ISignatureValidator_abi.json | 26 + abis/ISystemSettings_abi.json | 28 + abis/IVotes_abi.json | 184 + abis/Initializable_abi.json | 15 + abis/LibString_abi.json | 7 + abis/MathUpgradeable_abi.json | 1 + abis/Math_abi.json | 1 + abis/MockERC20_abi.json | 322 + abis/MockERC721_abi.json | 350 + abis/ModuleManager_abi.json | 206 + abis/ModuleProxyFactory_abi.json | 88 + abis/Module_abi.json | 233 + abis/Multicallable_abi.json | 21 + abis/OwnableUpgradeable_abi.json | 67 + abis/OwnerManager_abi.json | 163 + abis/PaymentEscrowAdmins_abi.json | 117 + abis/PaymentEscrow_abi.json | 665 ++ abis/Proxy_abi.json | 10 + abis/PurchaseTracker_abi.json | 381 + abis/RagequitTest_abi.json | 878 ++ abis/ReentrancyGuardUpgradeable_abi.json | 15 + abis/Roles_abi.json | 93 + abis/SafeCast_abi.json | 1 + abis/SafeERC20_abi.json | 1 + abis/SafeTransactionHelper_abi.json | 1 + abis/ScriptBase_abi.json | 1 + abis/Script_abi.json | 15 + abis/SecuredTokenTransfer_abi.json | 1 + abis/SelfAuthorized_abi.json | 1 + abis/SignatureDecoder_abi.json | 1 + abis/Singleton_abi.json | 1 + abis/StdAssertions_abi.json | 379 + abis/StdChains_abi.json | 1 + abis/StdCheatsSafe_abi.json | 1 + abis/StdCheats_abi.json | 1 + abis/StdInvariant_abi.json | 180 + abis/StdStyle_abi.json | 1 + abis/StdUtils_abi.json | 1 + abis/StorageAccessible_abi.json | 44 + abis/StorageSlotUpgradeable_abi.json | 1 + abis/StorageSlot_abi.json | 1 + abis/StringsUpgradeable_abi.json | 1 + abis/Strings_abi.json | 1 + abis/SystemSettings_abi.json | 179 + abis/TestBase_abi.json | 1 + abis/TestCommunityVault_abi.json | 1132 ++ abis/TestPaymentAndTracker_abi.json | 949 ++ abis/TestToken_abi.json | 313 + abis/Test_abi.json | 570 + abis/TimelockController_abi.json | 872 ++ abis/Timers_abi.json | 1 + abis/ToggleModule_abi.json | 114 + abis/UUPSUpgradeable_abi.json | 104 + abis/VmSafe_abi.json | 8530 +++++++++++++++ abis/Vm_abi.json | 10806 +++++++++++++++++++ abis/VotingTest_abi.json | 948 ++ abis/console_abi.json | 1 + abis/safeconsole_abi.json | 1 + abis/stdError_abi.json | 119 + abis/stdJson_abi.json | 1 + abis/stdMath_abi.json | 1 + abis/stdStorageSafe_abi.json | 52 + abis/stdStorage_abi.json | 1 + abis/stdToml_abi.json | 1 + test/RagequitTest.t.sol | 339 + 171 files changed, 59760 insertions(+) create mode 100644 abis/AccessControl_abi.json create mode 100644 abis/AddressUpgradeable_abi.json create mode 100644 abis/Address_abi.json create mode 100644 abis/BaalSummoner_abi.json create mode 100644 abis/Baal_abi.json create mode 100644 abis/Base64_abi.json create mode 100644 abis/BaseGuard_abi.json create mode 100644 abis/BaseRelayRecipient_abi.json create mode 100644 abis/CarefulMath_abi.json create mode 100644 abis/Checkpoints_abi.json create mode 100644 abis/CommonBase_abi.json create mode 100644 abis/CommunityRewardsCalculator_abi.json create mode 100644 abis/CommunityVault_abi.json create mode 100644 abis/ContextUpgradeable_abi.json create mode 100644 abis/Context_abi.json create mode 100644 abis/Counters_abi.json create mode 100644 abis/CustomBaalSummoner_abi.json create mode 100644 abis/CustomBaal_abi.json create mode 100644 abis/DeployCustomBaalSummoner_abi.json create mode 100644 abis/DeployHamzaVault_abi.json create mode 100644 abis/DeploymentSetup_abi.json create mode 100644 abis/DoubleEndedQueue_abi.json create mode 100644 abis/ECDSAUpgradeable_abi.json create mode 100644 abis/ECDSA_abi.json create mode 100644 abis/EIP712Upgradeable_abi.json create mode 100644 abis/EIP712_abi.json create mode 100644 abis/ERC1155TokenReceiver_abi.json create mode 100644 abis/ERC1155_abi.json create mode 100644 abis/ERC165_abi.json create mode 100644 abis/ERC1967Proxy_abi.json create mode 100644 abis/ERC1967UpgradeUpgradeable_abi.json create mode 100644 abis/ERC1967Upgrade_abi.json create mode 100644 abis/ERC20Permit_abi.json create mode 100644 abis/ERC20Votes_abi.json create mode 100644 abis/ERC20Wrapper_abi.json create mode 100644 abis/ERC20_abi.json create mode 100644 abis/EligibilityModule_abi.json create mode 100644 abis/Enum_abi.json create mode 100644 abis/EscrowMulticall_abi.json create mode 100644 abis/EtherPaymentFallback_abi.json create mode 100644 abis/Executor_abi.json create mode 100644 abis/FactoryFriendly_abi.json create mode 100644 abis/FailingToken_abi.json create mode 100644 abis/FallbackManager_abi.json create mode 100644 abis/FullRound_abi.json create mode 100644 abis/GnosisSafeMath_abi.json create mode 100644 abis/GnosisSafeProxyFactory_abi.json create mode 100644 abis/GnosisSafeProxy_abi.json create mode 100644 abis/GnosisSafe_abi.json create mode 100644 abis/GovernanceToken_abi.json create mode 100644 abis/GovernanceVaultTest_abi.json create mode 100644 abis/GovernanceVault_abi.json create mode 100644 abis/GovernorCompatibilityBravo_abi.json create mode 100644 abis/GovernorTimelockControl_abi.json create mode 100644 abis/GovernorVotesQuorumFraction_abi.json create mode 100644 abis/GovernorVotes_abi.json create mode 100644 abis/Governor_abi.json create mode 100644 abis/GuardManager_abi.json create mode 100644 abis/Guard_abi.json create mode 100644 abis/Guardable_abi.json create mode 100644 abis/HamzaGovernor_abi.json create mode 100644 abis/HasSecurityContext_abi.json create mode 100644 abis/HatsDeployment_abi.json create mode 100644 abis/HatsErrors_abi.json create mode 100644 abis/HatsEvents_abi.json create mode 100644 abis/HatsIdUtilities_abi.json create mode 100644 abis/HatsSecurityContext_abi.json create mode 100644 abis/Hats_abi.json create mode 100644 abis/IAccessControl_abi.json create mode 100644 abis/IAvatar_abi.json create mode 100644 abis/IBaalToken_abi.json create mode 100644 abis/IBeaconUpgradeable_abi.json create mode 100644 abis/IBeacon_abi.json create mode 100644 abis/ICommunityRewardsCalculator_abi.json create mode 100644 abis/IERC1155Receiver_abi.json create mode 100644 abis/IERC165_abi.json create mode 100644 abis/IERC1822ProxiableUpgradeable_abi.json create mode 100644 abis/IERC1822Proxiable_abi.json create mode 100644 abis/IERC1967Upgradeable_abi.json create mode 100644 abis/IERC1967_abi.json create mode 100644 abis/IERC20Metadata_abi.json create mode 100644 abis/IERC20Permit_abi.json create mode 100644 abis/IERC20_abi.json create mode 100644 abis/IERC721Enumerable_abi.json create mode 100644 abis/IERC721Metadata_abi.json create mode 100644 abis/IERC721Receiver_abi.json create mode 100644 abis/IERC721TokenReceiver_abi.json create mode 100644 abis/IERC721_abi.json create mode 100644 abis/IEscrowContract_abi.json create mode 100644 abis/IGnosisSafe_abi.json create mode 100644 abis/IGovernorCompatibilityBravo_abi.json create mode 100644 abis/IGovernorTimelock_abi.json create mode 100644 abis/IGovernor_abi.json create mode 100644 abis/IGuard_abi.json create mode 100644 abis/IHatsEligibility_abi.json create mode 100644 abis/IHatsIdUtilities_abi.json create mode 100644 abis/IHatsSecurityContext_abi.json create mode 100644 abis/IHatsToggle_abi.json create mode 100644 abis/IHats_abi.json create mode 100644 abis/IMulticall3_abi.json create mode 100644 abis/IProxyCreationCallback_abi.json create mode 100644 abis/IProxy_abi.json create mode 100644 abis/IPurchaseTracker_abi.json create mode 100644 abis/IRelayRecipient_abi.json create mode 100644 abis/ISecurityContext_abi.json create mode 100644 abis/ISignatureValidatorConstants_abi.json create mode 100644 abis/ISignatureValidator_abi.json create mode 100644 abis/ISystemSettings_abi.json create mode 100644 abis/IVotes_abi.json create mode 100644 abis/Initializable_abi.json create mode 100644 abis/LibString_abi.json create mode 100644 abis/MathUpgradeable_abi.json create mode 100644 abis/Math_abi.json create mode 100644 abis/MockERC20_abi.json create mode 100644 abis/MockERC721_abi.json create mode 100644 abis/ModuleManager_abi.json create mode 100644 abis/ModuleProxyFactory_abi.json create mode 100644 abis/Module_abi.json create mode 100644 abis/Multicallable_abi.json create mode 100644 abis/OwnableUpgradeable_abi.json create mode 100644 abis/OwnerManager_abi.json create mode 100644 abis/PaymentEscrowAdmins_abi.json create mode 100644 abis/PaymentEscrow_abi.json create mode 100644 abis/Proxy_abi.json create mode 100644 abis/PurchaseTracker_abi.json create mode 100644 abis/RagequitTest_abi.json create mode 100644 abis/ReentrancyGuardUpgradeable_abi.json create mode 100644 abis/Roles_abi.json create mode 100644 abis/SafeCast_abi.json create mode 100644 abis/SafeERC20_abi.json create mode 100644 abis/SafeTransactionHelper_abi.json create mode 100644 abis/ScriptBase_abi.json create mode 100644 abis/Script_abi.json create mode 100644 abis/SecuredTokenTransfer_abi.json create mode 100644 abis/SelfAuthorized_abi.json create mode 100644 abis/SignatureDecoder_abi.json create mode 100644 abis/Singleton_abi.json create mode 100644 abis/StdAssertions_abi.json create mode 100644 abis/StdChains_abi.json create mode 100644 abis/StdCheatsSafe_abi.json create mode 100644 abis/StdCheats_abi.json create mode 100644 abis/StdInvariant_abi.json create mode 100644 abis/StdStyle_abi.json create mode 100644 abis/StdUtils_abi.json create mode 100644 abis/StorageAccessible_abi.json create mode 100644 abis/StorageSlotUpgradeable_abi.json create mode 100644 abis/StorageSlot_abi.json create mode 100644 abis/StringsUpgradeable_abi.json create mode 100644 abis/Strings_abi.json create mode 100644 abis/SystemSettings_abi.json create mode 100644 abis/TestBase_abi.json create mode 100644 abis/TestCommunityVault_abi.json create mode 100644 abis/TestPaymentAndTracker_abi.json create mode 100644 abis/TestToken_abi.json create mode 100644 abis/Test_abi.json create mode 100644 abis/TimelockController_abi.json create mode 100644 abis/Timers_abi.json create mode 100644 abis/ToggleModule_abi.json create mode 100644 abis/UUPSUpgradeable_abi.json create mode 100644 abis/VmSafe_abi.json create mode 100644 abis/Vm_abi.json create mode 100644 abis/VotingTest_abi.json create mode 100644 abis/console_abi.json create mode 100644 abis/safeconsole_abi.json create mode 100644 abis/stdError_abi.json create mode 100644 abis/stdJson_abi.json create mode 100644 abis/stdMath_abi.json create mode 100644 abis/stdStorageSafe_abi.json create mode 100644 abis/stdStorage_abi.json create mode 100644 abis/stdToml_abi.json diff --git a/abis/AccessControl_abi.json b/abis/AccessControl_abi.json new file mode 100644 index 0000000..88e40a8 --- /dev/null +++ b/abis/AccessControl_abi.json @@ -0,0 +1,206 @@ +[ + { + "type": "function", + "name": "DEFAULT_ADMIN_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getRoleAdmin", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "grantRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "hasRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revokeRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "RoleAdminChanged", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "previousAdminRole", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "newAdminRole", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleGranted", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleRevoked", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/AddressUpgradeable_abi.json b/abis/AddressUpgradeable_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/AddressUpgradeable_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/Address_abi.json b/abis/Address_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/Address_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/BaalSummoner_abi.json b/abis/BaalSummoner_abi.json new file mode 100644 index 0000000..187b085 --- /dev/null +++ b/abis/BaalSummoner_abi.json @@ -0,0 +1,574 @@ +[ + { + "type": "function", + "name": "addrsVersion", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "deployAndSetupSafe", + "inputs": [ + { + "name": "_moduleAddr", + "type": "address", + "internalType": "address" + }, + { + "name": "_saltNonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deployAndSetupSafe", + "inputs": [ + { + "name": "_moduleAddr", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deployTokens", + "inputs": [ + { + "name": "_name", + "type": "string", + "internalType": "string" + }, + { + "name": "_symbol", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "lootToken", + "type": "address", + "internalType": "address" + }, + { + "name": "sharesToken", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "encodeMultisend", + "inputs": [ + { + "name": "_calls", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "_target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "encodedMultisend", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "gnosisFallbackLibrary", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "gnosisMultisendLibrary", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "gnosisSingleton", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialize", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "lootSingleton", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proxiableUUID", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setAddrs", + "inputs": [ + { + "name": "_template", + "type": "address", + "internalType": "address payable" + }, + { + "name": "_gnosisSingleton", + "type": "address", + "internalType": "address" + }, + { + "name": "_gnosisFallbackLibrary", + "type": "address", + "internalType": "address" + }, + { + "name": "_gnosisMultisendLibrary", + "type": "address", + "internalType": "address" + }, + { + "name": "_gnosisSafeProxyFactory", + "type": "address", + "internalType": "address" + }, + { + "name": "_moduleProxyFactory", + "type": "address", + "internalType": "address" + }, + { + "name": "_lootSingleton", + "type": "address", + "internalType": "address" + }, + { + "name": "_sharesSingleton", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sharesSingleton", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "summonBaal", + "inputs": [ + { + "name": "initializationParams", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "initializationActions", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "_saltNonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "summonBaalFromReferrer", + "inputs": [ + { + "name": "initializationParams", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "initializationActions", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "_saltNonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "referrer", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "template", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeTo", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeToAndCall", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ + { + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DaoReferral", + "inputs": [ + { + "name": "referrer", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + }, + { + "name": "daoAddress", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DeployBaalSafe", + "inputs": [ + { + "name": "baalSafe", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "moduleAddr", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DeployBaalTokens", + "inputs": [ + { + "name": "lootToken", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "sharesToken", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SetAddrsVersion", + "inputs": [ + { + "name": "version", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SummonBaal", + "inputs": [ + { + "name": "baal", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "loot", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "shares", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "safe", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "forwarder", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "existingAddrs", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Upgraded", + "inputs": [ + { + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/Baal_abi.json b/abis/Baal_abi.json new file mode 100644 index 0000000..798b3bf --- /dev/null +++ b/abis/Baal_abi.json @@ -0,0 +1,1569 @@ +[ + { + "type": "constructor", + "inputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "adminLock", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "avatar", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "burnLoot", + "inputs": [ + { + "name": "from", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "amount", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "burnShares", + "inputs": [ + { + "name": "from", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "amount", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "cancelProposal", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "encodeMultisend", + "inputs": [ + { + "name": "_calls", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "_target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "encodedMultisend", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "executeAsBaal", + "inputs": [ + { + "name": "_to", + "type": "address", + "internalType": "address" + }, + { + "name": "_value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getGuard", + "inputs": [], + "outputs": [ + { + "name": "_guard", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getProposalStatus", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "bool[4]", + "internalType": "bool[4]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "governorLock", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "gracePeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "guard", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashOperation", + "inputs": [ + { + "name": "_transactions", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "hash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "isAdmin", + "inputs": [ + { + "name": "shaman", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isGovernor", + "inputs": [ + { + "name": "shaman", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isManager", + "inputs": [ + { + "name": "shaman", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isTrustedForwarder", + "inputs": [ + { + "name": "forwarder", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "latestSponsoredProposalId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lockAdmin", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "lockGovernor", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "lockManager", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "lootToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IBaalToken" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "managerLock", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "memberVoted", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "minRetentionPercent", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "mintLoot", + "inputs": [ + { + "name": "to", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "amount", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mintShares", + "inputs": [ + { + "name": "to", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "amount", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "multisendLibrary", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "processProposal", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "proposalData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proposalCount", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalOffering", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposals", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "prevProposalId", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "votingStarts", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "votingEnds", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "graceEnds", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "expiration", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "baalGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "yesVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "noVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxTotalSharesAndLootAtVote", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxTotalSharesAtSponsor", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "sponsor", + "type": "address", + "internalType": "address" + }, + { + "name": "proposalDataHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quorumPercent", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "ragequit", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "sharesToBurn", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lootToBurn", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "tokens", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setAdminConfig", + "inputs": [ + { + "name": "pauseShares", + "type": "bool", + "internalType": "bool" + }, + { + "name": "pauseLoot", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setAvatar", + "inputs": [ + { + "name": "_avatar", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setGovernanceConfig", + "inputs": [ + { + "name": "_governanceConfig", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setGuard", + "inputs": [ + { + "name": "_guard", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setShamans", + "inputs": [ + { + "name": "_shamans", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "_permissions", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setTarget", + "inputs": [ + { + "name": "_target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setTrustedForwarder", + "inputs": [ + { + "name": "_trustedForwarderAddress", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setUp", + "inputs": [ + { + "name": "_initializationParams", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "shamans", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "sharesToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IBaalToken" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "sponsorProposal", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sponsorThreshold", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "state", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "enum Baal.ProposalState" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "submitProposal", + "inputs": [ + { + "name": "proposalData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "expiration", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "baalGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "details", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "submitVote", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "approved", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "submitVoteWithSig", + "inputs": [ + { + "name": "voter", + "type": "address", + "internalType": "address" + }, + { + "name": "expiry", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "nonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "approved", + "type": "bool", + "internalType": "bool" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "target", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalLoot", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalShares", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "trustedForwarder", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "versionRecipient", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingNonces", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "AvatarSet", + "inputs": [ + { + "name": "previousAvatar", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newAvatar", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "CancelProposal", + "inputs": [ + { + "name": "proposal", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ChangedGuard", + "inputs": [ + { + "name": "guard", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "GovernanceConfigSet", + "inputs": [ + { + "name": "voting", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "grace", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "newOffering", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "quorum", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "sponsor", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "minRetention", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "LockAdmin", + "inputs": [ + { + "name": "adminLock", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "LockGovernor", + "inputs": [ + { + "name": "governorLock", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "LockManager", + "inputs": [ + { + "name": "managerLock", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "LootPaused", + "inputs": [ + { + "name": "paused", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProcessProposal", + "inputs": [ + { + "name": "proposal", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "passed", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "actionFailed", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Ragequit", + "inputs": [ + { + "name": "member", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "lootToBurn", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "sharesToBurn", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "tokens", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SetTrustedForwarder", + "inputs": [ + { + "name": "forwarder", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SetupComplete", + "inputs": [ + { + "name": "lootPaused", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "sharesPaused", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "gracePeriod", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "votingPeriod", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "proposalOffering", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "quorumPercent", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "sponsorThreshold", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "minRetentionPercent", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "name", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "symbol", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "totalShares", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "totalLoot", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ShamanSet", + "inputs": [ + { + "name": "shaman", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "permission", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SharesPaused", + "inputs": [ + { + "name": "paused", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SponsorProposal", + "inputs": [ + { + "name": "member", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposal", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "votingStarts", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SubmitProposal", + "inputs": [ + { + "name": "proposal", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "proposalDataHash", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "votingPeriod", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposalData", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + }, + { + "name": "expiration", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "baalGas", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "selfSponsor", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "timestamp", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "details", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SubmitVote", + "inputs": [ + { + "name": "member", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "balance", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposal", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "approved", + "type": "bool", + "indexed": true, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TargetSet", + "inputs": [ + { + "name": "previousTarget", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newTarget", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "NotIERC165Compliant", + "inputs": [ + { + "name": "guard_", + "type": "address", + "internalType": "address" + } + ] + } +] diff --git a/abis/Base64_abi.json b/abis/Base64_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/Base64_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/BaseGuard_abi.json b/abis/BaseGuard_abi.json new file mode 100644 index 0000000..240c192 --- /dev/null +++ b/abis/BaseGuard_abi.json @@ -0,0 +1,102 @@ +[ + { + "type": "function", + "name": "checkAfterExecution", + "inputs": [ + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "checkTransaction", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + }, + { + "name": "safeTxGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "baseGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasPrice", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasToken", + "type": "address", + "internalType": "address" + }, + { + "name": "refundReceiver", + "type": "address", + "internalType": "address payable" + }, + { + "name": "signatures", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "msgSender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + } +] diff --git a/abis/BaseRelayRecipient_abi.json b/abis/BaseRelayRecipient_abi.json new file mode 100644 index 0000000..ed96ed9 --- /dev/null +++ b/abis/BaseRelayRecipient_abi.json @@ -0,0 +1,47 @@ +[ + { + "type": "function", + "name": "isTrustedForwarder", + "inputs": [ + { + "name": "forwarder", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "trustedForwarder", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "versionRecipient", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/CarefulMath_abi.json b/abis/CarefulMath_abi.json new file mode 100644 index 0000000..f650655 --- /dev/null +++ b/abis/CarefulMath_abi.json @@ -0,0 +1,23 @@ +[ + { + "type": "error", + "name": "PRBMath__MulDivOverflow", + "inputs": [ + { + "name": "x", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "y", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "denominator", + "type": "uint256", + "internalType": "uint256" + } + ] + } +] diff --git a/abis/Checkpoints_abi.json b/abis/Checkpoints_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/Checkpoints_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/CommonBase_abi.json b/abis/CommonBase_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/CommonBase_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/CommunityRewardsCalculator_abi.json b/abis/CommunityRewardsCalculator_abi.json new file mode 100644 index 0000000..3e6fae9 --- /dev/null +++ b/abis/CommunityRewardsCalculator_abi.json @@ -0,0 +1,31 @@ +[ + { + "type": "function", + "name": "getRewardsToDistribute", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + }, + { + "name": "recipients", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "purchaseTracker", + "type": "address", + "internalType": "contract IPurchaseTracker" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "nonpayable" + } +] diff --git a/abis/CommunityVault_abi.json b/abis/CommunityVault_abi.json new file mode 100644 index 0000000..dba34fd --- /dev/null +++ b/abis/CommunityVault_abi.json @@ -0,0 +1,423 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_securityContext", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "claimRewards", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deposit", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "distribute", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + }, + { + "name": "recipients", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "amounts", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "distributeRewards", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + }, + { + "name": "recipients", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getBalance", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "governanceVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "purchaseTracker", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "rewardsCalculator", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ICommunityRewardsCalculator" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "rewardsDistributed", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "securityContext", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setCommunityRewardsCalculator", + "inputs": [ + { + "name": "calculator", + "type": "address", + "internalType": "contract ICommunityRewardsCalculator" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setGovernanceVault", + "inputs": [ + { + "name": "vault", + "type": "address", + "internalType": "address" + }, + { + "name": "lootToken", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setPurchaseTracker", + "inputs": [ + { + "name": "_purchaseTracker", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setSecurityContext", + "inputs": [ + { + "name": "_securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "tokenBalances", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "withdraw", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Deposit", + "inputs": [ + { + "name": "token", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Distribute", + "inputs": [ + { + "name": "token", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RewardDistributed", + "inputs": [ + { + "name": "token", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "recipient", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SecurityContextSet", + "inputs": [ + { + "name": "caller", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "securityContext", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Withdraw", + "inputs": [ + { + "name": "token", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "UnauthorizedAccess", + "inputs": [ + { + "name": "roleId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "addr", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ZeroAddressArgument", + "inputs": [] + } +] diff --git a/abis/ContextUpgradeable_abi.json b/abis/ContextUpgradeable_abi.json new file mode 100644 index 0000000..ccf42b8 --- /dev/null +++ b/abis/ContextUpgradeable_abi.json @@ -0,0 +1,15 @@ +[ + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + } +] diff --git a/abis/Context_abi.json b/abis/Context_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/Context_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/Counters_abi.json b/abis/Counters_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/Counters_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/CustomBaalSummoner_abi.json b/abis/CustomBaalSummoner_abi.json new file mode 100644 index 0000000..187b085 --- /dev/null +++ b/abis/CustomBaalSummoner_abi.json @@ -0,0 +1,574 @@ +[ + { + "type": "function", + "name": "addrsVersion", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "deployAndSetupSafe", + "inputs": [ + { + "name": "_moduleAddr", + "type": "address", + "internalType": "address" + }, + { + "name": "_saltNonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deployAndSetupSafe", + "inputs": [ + { + "name": "_moduleAddr", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deployTokens", + "inputs": [ + { + "name": "_name", + "type": "string", + "internalType": "string" + }, + { + "name": "_symbol", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "lootToken", + "type": "address", + "internalType": "address" + }, + { + "name": "sharesToken", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "encodeMultisend", + "inputs": [ + { + "name": "_calls", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "_target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "encodedMultisend", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "gnosisFallbackLibrary", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "gnosisMultisendLibrary", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "gnosisSingleton", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialize", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "lootSingleton", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proxiableUUID", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setAddrs", + "inputs": [ + { + "name": "_template", + "type": "address", + "internalType": "address payable" + }, + { + "name": "_gnosisSingleton", + "type": "address", + "internalType": "address" + }, + { + "name": "_gnosisFallbackLibrary", + "type": "address", + "internalType": "address" + }, + { + "name": "_gnosisMultisendLibrary", + "type": "address", + "internalType": "address" + }, + { + "name": "_gnosisSafeProxyFactory", + "type": "address", + "internalType": "address" + }, + { + "name": "_moduleProxyFactory", + "type": "address", + "internalType": "address" + }, + { + "name": "_lootSingleton", + "type": "address", + "internalType": "address" + }, + { + "name": "_sharesSingleton", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sharesSingleton", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "summonBaal", + "inputs": [ + { + "name": "initializationParams", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "initializationActions", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "_saltNonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "summonBaalFromReferrer", + "inputs": [ + { + "name": "initializationParams", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "initializationActions", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "_saltNonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "referrer", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "template", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeTo", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeToAndCall", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ + { + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DaoReferral", + "inputs": [ + { + "name": "referrer", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + }, + { + "name": "daoAddress", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DeployBaalSafe", + "inputs": [ + { + "name": "baalSafe", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "moduleAddr", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DeployBaalTokens", + "inputs": [ + { + "name": "lootToken", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "sharesToken", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SetAddrsVersion", + "inputs": [ + { + "name": "version", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SummonBaal", + "inputs": [ + { + "name": "baal", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "loot", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "shares", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "safe", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "forwarder", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "existingAddrs", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Upgraded", + "inputs": [ + { + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/CustomBaal_abi.json b/abis/CustomBaal_abi.json new file mode 100644 index 0000000..c5390b2 --- /dev/null +++ b/abis/CustomBaal_abi.json @@ -0,0 +1,1582 @@ +[ + { + "type": "constructor", + "inputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "adminLock", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "avatar", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "burnLoot", + "inputs": [ + { + "name": "from", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "amount", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "burnShares", + "inputs": [ + { + "name": "from", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "amount", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "cancelProposal", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "communityVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "encodeMultisend", + "inputs": [ + { + "name": "_calls", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "_target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "encodedMultisend", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "executeAsBaal", + "inputs": [ + { + "name": "_to", + "type": "address", + "internalType": "address" + }, + { + "name": "_value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getGuard", + "inputs": [], + "outputs": [ + { + "name": "_guard", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getProposalStatus", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "bool[4]", + "internalType": "bool[4]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "governorLock", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "gracePeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "guard", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashOperation", + "inputs": [ + { + "name": "_transactions", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "hash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "isAdmin", + "inputs": [ + { + "name": "shaman", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isGovernor", + "inputs": [ + { + "name": "shaman", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isManager", + "inputs": [ + { + "name": "shaman", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isTrustedForwarder", + "inputs": [ + { + "name": "forwarder", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "latestSponsoredProposalId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lockAdmin", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "lockGovernor", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "lockManager", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "lootToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IBaalToken" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "managerLock", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "memberVoted", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "minRetentionPercent", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "mintLoot", + "inputs": [ + { + "name": "to", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "amount", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mintShares", + "inputs": [ + { + "name": "to", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "amount", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "multisendLibrary", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "processProposal", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "proposalData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proposalCount", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalOffering", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposals", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "prevProposalId", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "votingStarts", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "votingEnds", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "graceEnds", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "expiration", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "baalGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "yesVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "noVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxTotalSharesAndLootAtVote", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxTotalSharesAtSponsor", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "sponsor", + "type": "address", + "internalType": "address" + }, + { + "name": "proposalDataHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quorumPercent", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "ragequit", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "sharesToBurn", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "lootToBurn", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "tokens", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setAdminConfig", + "inputs": [ + { + "name": "pauseShares", + "type": "bool", + "internalType": "bool" + }, + { + "name": "pauseLoot", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setAvatar", + "inputs": [ + { + "name": "_avatar", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setGovernanceConfig", + "inputs": [ + { + "name": "_governanceConfig", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setGuard", + "inputs": [ + { + "name": "_guard", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setShamans", + "inputs": [ + { + "name": "_shamans", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "_permissions", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setTarget", + "inputs": [ + { + "name": "_target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setTrustedForwarder", + "inputs": [ + { + "name": "_trustedForwarderAddress", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setUp", + "inputs": [ + { + "name": "_initializationParams", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "shamans", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "sharesToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IBaalToken" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "sponsorProposal", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sponsorThreshold", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "state", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "enum CustomBaal.ProposalState" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "submitProposal", + "inputs": [ + { + "name": "proposalData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "expiration", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "baalGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "details", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "submitVote", + "inputs": [ + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "approved", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "submitVoteWithSig", + "inputs": [ + { + "name": "voter", + "type": "address", + "internalType": "address" + }, + { + "name": "expiry", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "nonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "id", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "approved", + "type": "bool", + "internalType": "bool" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "target", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalLoot", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalShares", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "trustedForwarder", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "versionRecipient", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingNonces", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "AvatarSet", + "inputs": [ + { + "name": "previousAvatar", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newAvatar", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "CancelProposal", + "inputs": [ + { + "name": "proposal", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ChangedGuard", + "inputs": [ + { + "name": "guard", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "GovernanceConfigSet", + "inputs": [ + { + "name": "voting", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "grace", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "newOffering", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "quorum", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "sponsor", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "minRetention", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "LockAdmin", + "inputs": [ + { + "name": "adminLock", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "LockGovernor", + "inputs": [ + { + "name": "governorLock", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "LockManager", + "inputs": [ + { + "name": "managerLock", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "LootPaused", + "inputs": [ + { + "name": "paused", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProcessProposal", + "inputs": [ + { + "name": "proposal", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "passed", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "actionFailed", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Ragequit", + "inputs": [ + { + "name": "member", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "lootToBurn", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "sharesToBurn", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "tokens", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SetTrustedForwarder", + "inputs": [ + { + "name": "forwarder", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SetupComplete", + "inputs": [ + { + "name": "lootPaused", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "sharesPaused", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "gracePeriod", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "votingPeriod", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "proposalOffering", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "quorumPercent", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "sponsorThreshold", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "minRetentionPercent", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "name", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "symbol", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "totalShares", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "totalLoot", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ShamanSet", + "inputs": [ + { + "name": "shaman", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "permission", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SharesPaused", + "inputs": [ + { + "name": "paused", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SponsorProposal", + "inputs": [ + { + "name": "member", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposal", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "votingStarts", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SubmitProposal", + "inputs": [ + { + "name": "proposal", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "proposalDataHash", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "votingPeriod", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposalData", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + }, + { + "name": "expiration", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "baalGas", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "selfSponsor", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "timestamp", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "details", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SubmitVote", + "inputs": [ + { + "name": "member", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "balance", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposal", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "approved", + "type": "bool", + "indexed": true, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TargetSet", + "inputs": [ + { + "name": "previousTarget", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newTarget", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "NotIERC165Compliant", + "inputs": [ + { + "name": "guard_", + "type": "address", + "internalType": "address" + } + ] + } +] diff --git a/abis/DeployCustomBaalSummoner_abi.json b/abis/DeployCustomBaalSummoner_abi.json new file mode 100644 index 0000000..2a83ad0 --- /dev/null +++ b/abis/DeployCustomBaalSummoner_abi.json @@ -0,0 +1,22 @@ +[ + { + "type": "function", + "name": "IS_SCRIPT", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "run", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/DeployHamzaVault_abi.json b/abis/DeployHamzaVault_abi.json new file mode 100644 index 0000000..cd5b5ae --- /dev/null +++ b/abis/DeployHamzaVault_abi.json @@ -0,0 +1,248 @@ +[ + { + "type": "function", + "name": "IS_SCRIPT", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "OWNER_ONE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "OWNER_TWO", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "adminHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "burnerHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "config", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "daoHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "escrowAddr", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "governorAddr", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hamzaToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hats", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hatsSecurityContextAddr", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "minterHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "purchaseTrackerAddr", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "run", + "inputs": [], + "outputs": [ + { + "name": "hamzaBaal", + "type": "address", + "internalType": "address" + }, + { + "name": "communityVault", + "type": "address", + "internalType": "address payable" + }, + { + "name": "governanceToken", + "type": "address", + "internalType": "address" + }, + { + "name": "governanceVault", + "type": "address", + "internalType": "address" + }, + { + "name": "_safeAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "_hatsSecurityContext", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "safeAddr", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "systemSettingsAddr", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/DeploymentSetup_abi.json b/abis/DeploymentSetup_abi.json new file mode 100644 index 0000000..20df28b --- /dev/null +++ b/abis/DeploymentSetup_abi.json @@ -0,0 +1,850 @@ +[ + { + "type": "function", + "name": "IS_TEST", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "admin", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "adminHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "autoRelease", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "baal", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "communityVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "escrow", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeArtifacts", + "inputs": [], + "outputs": [ + { + "name": "excludedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeContracts", + "inputs": [], + "outputs": [ + { + "name": "excludedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSelectors", + "inputs": [], + "outputs": [ + { + "name": "excludedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSenders", + "inputs": [], + "outputs": [ + { + "name": "excludedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "failed", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "governor", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hatsCtx", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialFeeBps", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lootToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "purchaseTracker", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safe", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "script", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract DeployHamzaVault" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setUp", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "systemSettings", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifactSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifactSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzArtifactSelector[]", + "components": [ + { + "name": "artifact", + "type": "string", + "internalType": "string" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifacts", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetContracts", + "inputs": [], + "outputs": [ + { + "name": "targetedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetInterfaces", + "inputs": [], + "outputs": [ + { + "name": "targetedInterfaces_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzInterface[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "artifacts", + "type": "string[]", + "internalType": "string[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSenders", + "inputs": [], + "outputs": [ + { + "name": "targetedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "timeLockDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "user", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "userLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vaultLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vestingPeriodFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "log", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_address", + "inputs": [ + { + "name": "", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes32", + "inputs": [ + { + "name": "", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_int", + "inputs": [ + { + "name": "", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_address", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes32", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_string", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_string", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_uint", + "inputs": [ + { + "name": "", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "logs", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/DoubleEndedQueue_abi.json b/abis/DoubleEndedQueue_abi.json new file mode 100644 index 0000000..45ec18c --- /dev/null +++ b/abis/DoubleEndedQueue_abi.json @@ -0,0 +1,12 @@ +[ + { + "type": "error", + "name": "Empty", + "inputs": [] + }, + { + "type": "error", + "name": "OutOfBounds", + "inputs": [] + } +] diff --git a/abis/ECDSAUpgradeable_abi.json b/abis/ECDSAUpgradeable_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/ECDSAUpgradeable_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/ECDSA_abi.json b/abis/ECDSA_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/ECDSA_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/EIP712Upgradeable_abi.json b/abis/EIP712Upgradeable_abi.json new file mode 100644 index 0000000..ccf42b8 --- /dev/null +++ b/abis/EIP712Upgradeable_abi.json @@ -0,0 +1,15 @@ +[ + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + } +] diff --git a/abis/EIP712_abi.json b/abis/EIP712_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/EIP712_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/ERC1155TokenReceiver_abi.json b/abis/ERC1155TokenReceiver_abi.json new file mode 100644 index 0000000..cad1230 --- /dev/null +++ b/abis/ERC1155TokenReceiver_abi.json @@ -0,0 +1,80 @@ +[ + { + "type": "function", + "name": "onERC1155BatchReceived", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC1155Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + } +] diff --git a/abis/ERC1155_abi.json b/abis/ERC1155_abi.json new file mode 100644 index 0000000..6612549 --- /dev/null +++ b/abis/ERC1155_abi.json @@ -0,0 +1,314 @@ +[ + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "balanceOfBatch", + "inputs": [ + { + "name": "owners", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "ids", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [ + { + "name": "balances", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isApprovedForAll", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safeBatchTransferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "ids", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "amounts", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "safeTransferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setApprovalForAll", + "inputs": [ + { + "name": "operator", + "type": "address", + "internalType": "address" + }, + { + "name": "approved", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "uri", + "inputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "ApprovalForAll", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "approved", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TransferBatch", + "inputs": [ + { + "name": "operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "ids", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "amounts", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TransferSingle", + "inputs": [ + { + "name": "operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "URI", + "inputs": [ + { + "name": "value", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "id", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/ERC165_abi.json b/abis/ERC165_abi.json new file mode 100644 index 0000000..5e3c49a --- /dev/null +++ b/abis/ERC165_abi.json @@ -0,0 +1,21 @@ +[ + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/ERC1967Proxy_abi.json b/abis/ERC1967Proxy_abi.json new file mode 100644 index 0000000..9dadb5f --- /dev/null +++ b/abis/ERC1967Proxy_abi.json @@ -0,0 +1,71 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_logic", + "type": "address", + "internalType": "address" + }, + { + "name": "_data", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "payable" + }, + { + "type": "fallback", + "stateMutability": "payable" + }, + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ + { + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Upgraded", + "inputs": [ + { + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/ERC1967UpgradeUpgradeable_abi.json b/abis/ERC1967UpgradeUpgradeable_abi.json new file mode 100644 index 0000000..ba18dd2 --- /dev/null +++ b/abis/ERC1967UpgradeUpgradeable_abi.json @@ -0,0 +1,60 @@ +[ + { + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ + { + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Upgraded", + "inputs": [ + { + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/ERC1967Upgrade_abi.json b/abis/ERC1967Upgrade_abi.json new file mode 100644 index 0000000..50bc8bf --- /dev/null +++ b/abis/ERC1967Upgrade_abi.json @@ -0,0 +1,47 @@ +[ + { + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ + { + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Upgraded", + "inputs": [ + { + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/ERC20Permit_abi.json b/abis/ERC20Permit_abi.json new file mode 100644 index 0000000..025ec19 --- /dev/null +++ b/abis/ERC20Permit_abi.json @@ -0,0 +1,347 @@ +[ + { + "type": "function", + "name": "DOMAIN_SEPARATOR", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "allowance", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decreaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "subtractedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "increaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "addedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "nonces", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "permit", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "deadline", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transfer", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/ERC20Votes_abi.json b/abis/ERC20Votes_abi.json new file mode 100644 index 0000000..d8c3296 --- /dev/null +++ b/abis/ERC20Votes_abi.json @@ -0,0 +1,584 @@ +[ + { + "type": "function", + "name": "DOMAIN_SEPARATOR", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "allowance", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "checkpoints", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "pos", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "internalType": "struct ERC20Votes.Checkpoint", + "components": [ + { + "name": "fromBlock", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "votes", + "type": "uint224", + "internalType": "uint224" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decreaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "subtractedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "delegate", + "inputs": [ + { + "name": "delegatee", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "delegateBySig", + "inputs": [ + { + "name": "delegatee", + "type": "address", + "internalType": "address" + }, + { + "name": "nonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "expiry", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "delegates", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPastTotalSupply", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPastVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "increaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "addedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "nonces", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "numCheckpoints", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "permit", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "deadline", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transfer", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DelegateChanged", + "inputs": [ + { + "name": "delegator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "fromDelegate", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "toDelegate", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DelegateVotesChanged", + "inputs": [ + { + "name": "delegate", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "previousBalance", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newBalance", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/ERC20Wrapper_abi.json b/abis/ERC20Wrapper_abi.json new file mode 100644 index 0000000..7cf7015 --- /dev/null +++ b/abis/ERC20Wrapper_abi.json @@ -0,0 +1,333 @@ +[ + { + "type": "function", + "name": "allowance", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decreaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "subtractedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "depositFor", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "increaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "addedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transfer", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "underlying", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IERC20" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "withdrawTo", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/ERC20_abi.json b/abis/ERC20_abi.json new file mode 100644 index 0000000..d1bf1cf --- /dev/null +++ b/abis/ERC20_abi.json @@ -0,0 +1,288 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "name_", + "type": "string", + "internalType": "string" + }, + { + "name": "symbol_", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "allowance", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decreaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "subtractedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "increaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "addedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transfer", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/EligibilityModule_abi.json b/abis/EligibilityModule_abi.json new file mode 100644 index 0000000..048aa6c --- /dev/null +++ b/abis/EligibilityModule_abi.json @@ -0,0 +1,140 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_admin", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "admin", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getWearerStatus", + "inputs": [ + { + "name": "wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "eligible", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "standing", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hatRules", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "eligible", + "type": "bool", + "internalType": "bool" + }, + { + "name": "standing", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setHatRules", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_eligible", + "type": "bool", + "internalType": "bool" + }, + { + "name": "_standing", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferAdmin", + "inputs": [ + { + "name": "newAdmin", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "HatRulesUpdated", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "eligible", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "standing", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + } +] diff --git a/abis/Enum_abi.json b/abis/Enum_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/Enum_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/EscrowMulticall_abi.json b/abis/EscrowMulticall_abi.json new file mode 100644 index 0000000..c3df3a0 --- /dev/null +++ b/abis/EscrowMulticall_abi.json @@ -0,0 +1,56 @@ +[ + { + "type": "constructor", + "inputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "multipay", + "inputs": [ + { + "name": "payments", + "type": "tuple[]", + "internalType": "struct MulticallPaymentInput[]", + "components": [ + { + "name": "contractAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "currency", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "payer", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "outputs": [], + "stateMutability": "payable" + } +] diff --git a/abis/EtherPaymentFallback_abi.json b/abis/EtherPaymentFallback_abi.json new file mode 100644 index 0000000..a35a5ae --- /dev/null +++ b/abis/EtherPaymentFallback_abi.json @@ -0,0 +1,25 @@ +[ + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "event", + "name": "SafeReceived", + "inputs": [ + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/Executor_abi.json b/abis/Executor_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/Executor_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/FactoryFriendly_abi.json b/abis/FactoryFriendly_abi.json new file mode 100644 index 0000000..4e37157 --- /dev/null +++ b/abis/FactoryFriendly_abi.json @@ -0,0 +1,80 @@ +[ + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setUp", + "inputs": [ + { + "name": "initializeParams", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/FailingToken_abi.json b/abis/FailingToken_abi.json new file mode 100644 index 0000000..67f247f --- /dev/null +++ b/abis/FailingToken_abi.json @@ -0,0 +1,262 @@ +[ + { + "type": "constructor", + "inputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "allowance", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "failTransfers", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setFailTransfers", + "inputs": [ + { + "name": "_fail", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "test", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transfer", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "sender", + "type": "address", + "internalType": "address" + }, + { + "name": "recipient", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/FallbackManager_abi.json b/abis/FallbackManager_abi.json new file mode 100644 index 0000000..9f90fdd --- /dev/null +++ b/abis/FallbackManager_abi.json @@ -0,0 +1,32 @@ +[ + { + "type": "fallback", + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setFallbackHandler", + "inputs": [ + { + "name": "handler", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "ChangedFallbackHandler", + "inputs": [ + { + "name": "handler", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/FullRound_abi.json b/abis/FullRound_abi.json new file mode 100644 index 0000000..25003c8 --- /dev/null +++ b/abis/FullRound_abi.json @@ -0,0 +1,864 @@ +[ + { + "type": "function", + "name": "IS_TEST", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "admin", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "adminHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "autoRelease", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "baal", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "communityVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "escrow", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeArtifacts", + "inputs": [], + "outputs": [ + { + "name": "excludedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeContracts", + "inputs": [], + "outputs": [ + { + "name": "excludedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSelectors", + "inputs": [], + "outputs": [ + { + "name": "excludedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSenders", + "inputs": [], + "outputs": [ + { + "name": "excludedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "failed", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "governor", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hatsCtx", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialFeeBps", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lootToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "purchaseTracker", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safe", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "script", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract DeployHamzaVault" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setUp", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "systemSettings", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifactSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifactSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzArtifactSelector[]", + "components": [ + { + "name": "artifact", + "type": "string", + "internalType": "string" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifacts", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetContracts", + "inputs": [], + "outputs": [ + { + "name": "targetedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetInterfaces", + "inputs": [], + "outputs": [ + { + "name": "targetedInterfaces_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzInterface[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "artifacts", + "type": "string[]", + "internalType": "string[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSenders", + "inputs": [], + "outputs": [ + { + "name": "targetedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "testDeployment", + "inputs": [], + "outputs": [], + "stateMutability": "view" + }, + { + "type": "function", + "name": "testVestingAndRewardsFlow", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "timeLockDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "user", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "userLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vaultLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vestingPeriodFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "log", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_address", + "inputs": [ + { + "name": "", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes32", + "inputs": [ + { + "name": "", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_int", + "inputs": [ + { + "name": "", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_address", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes32", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_string", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_string", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_uint", + "inputs": [ + { + "name": "", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "logs", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/GnosisSafeMath_abi.json b/abis/GnosisSafeMath_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/GnosisSafeMath_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/GnosisSafeProxyFactory_abi.json b/abis/GnosisSafeProxyFactory_abi.json new file mode 100644 index 0000000..e577832 --- /dev/null +++ b/abis/GnosisSafeProxyFactory_abi.json @@ -0,0 +1,163 @@ +[ + { + "type": "function", + "name": "calculateCreateProxyWithNonceAddress", + "inputs": [ + { + "name": "_singleton", + "type": "address", + "internalType": "address" + }, + { + "name": "initializer", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "saltNonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "proxy", + "type": "address", + "internalType": "contract GnosisSafeProxy" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createProxy", + "inputs": [ + { + "name": "singleton", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "proxy", + "type": "address", + "internalType": "contract GnosisSafeProxy" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createProxyWithCallback", + "inputs": [ + { + "name": "_singleton", + "type": "address", + "internalType": "address" + }, + { + "name": "initializer", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "saltNonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "callback", + "type": "address", + "internalType": "contract IProxyCreationCallback" + } + ], + "outputs": [ + { + "name": "proxy", + "type": "address", + "internalType": "contract GnosisSafeProxy" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createProxyWithNonce", + "inputs": [ + { + "name": "_singleton", + "type": "address", + "internalType": "address" + }, + { + "name": "initializer", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "saltNonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "proxy", + "type": "address", + "internalType": "contract GnosisSafeProxy" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proxyCreationCode", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "proxyRuntimeCode", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "event", + "name": "ProxyCreation", + "inputs": [ + { + "name": "proxy", + "type": "address", + "indexed": false, + "internalType": "contract GnosisSafeProxy" + }, + { + "name": "singleton", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/GnosisSafeProxy_abi.json b/abis/GnosisSafeProxy_abi.json new file mode 100644 index 0000000..bb32ce1 --- /dev/null +++ b/abis/GnosisSafeProxy_abi.json @@ -0,0 +1,17 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_singleton", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "fallback", + "stateMutability": "payable" + } +] diff --git a/abis/GnosisSafe_abi.json b/abis/GnosisSafe_abi.json new file mode 100644 index 0000000..3db4368 --- /dev/null +++ b/abis/GnosisSafe_abi.json @@ -0,0 +1,1033 @@ +[ + { + "type": "constructor", + "inputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "fallback", + "stateMutability": "nonpayable" + }, + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "VERSION", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "addOwnerWithThreshold", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_threshold", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "approveHash", + "inputs": [ + { + "name": "hashToApprove", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "approvedHashes", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "changeThreshold", + "inputs": [ + { + "name": "_threshold", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "checkNSignatures", + "inputs": [ + { + "name": "dataHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "signatures", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "requiredSignatures", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "view" + }, + { + "type": "function", + "name": "checkSignatures", + "inputs": [ + { + "name": "dataHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "signatures", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "view" + }, + { + "type": "function", + "name": "disableModule", + "inputs": [ + { + "name": "prevModule", + "type": "address", + "internalType": "address" + }, + { + "name": "module", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "domainSeparator", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "enableModule", + "inputs": [ + { + "name": "module", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "encodeTransactionData", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + }, + { + "name": "safeTxGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "baseGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasPrice", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasToken", + "type": "address", + "internalType": "address" + }, + { + "name": "refundReceiver", + "type": "address", + "internalType": "address" + }, + { + "name": "_nonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "execTransaction", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + }, + { + "name": "safeTxGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "baseGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasPrice", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasToken", + "type": "address", + "internalType": "address" + }, + { + "name": "refundReceiver", + "type": "address", + "internalType": "address payable" + }, + { + "name": "signatures", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "execTransactionFromModule", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execTransactionFromModuleReturnData", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getChainId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getModulesPaginated", + "inputs": [ + { + "name": "start", + "type": "address", + "internalType": "address" + }, + { + "name": "pageSize", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "array", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "next", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getOwners", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getStorageAt", + "inputs": [ + { + "name": "offset", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "length", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getThreshold", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTransactionHash", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + }, + { + "name": "safeTxGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "baseGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasPrice", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasToken", + "type": "address", + "internalType": "address" + }, + { + "name": "refundReceiver", + "type": "address", + "internalType": "address" + }, + { + "name": "_nonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isModuleEnabled", + "inputs": [ + { + "name": "module", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "nonce", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "removeOwner", + "inputs": [ + { + "name": "prevOwner", + "type": "address", + "internalType": "address" + }, + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_threshold", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "requiredTxGas", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setFallbackHandler", + "inputs": [ + { + "name": "handler", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setGuard", + "inputs": [ + { + "name": "guard", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setup", + "inputs": [ + { + "name": "_owners", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "_threshold", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "fallbackHandler", + "type": "address", + "internalType": "address" + }, + { + "name": "paymentToken", + "type": "address", + "internalType": "address" + }, + { + "name": "payment", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "paymentReceiver", + "type": "address", + "internalType": "address payable" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "signedMessages", + "inputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "simulateAndRevert", + "inputs": [ + { + "name": "targetContract", + "type": "address", + "internalType": "address" + }, + { + "name": "calldataPayload", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "swapOwner", + "inputs": [ + { + "name": "prevOwner", + "type": "address", + "internalType": "address" + }, + { + "name": "oldOwner", + "type": "address", + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "AddedOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ApproveHash", + "inputs": [ + { + "name": "approvedHash", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ChangedFallbackHandler", + "inputs": [ + { + "name": "handler", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ChangedGuard", + "inputs": [ + { + "name": "guard", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ChangedThreshold", + "inputs": [ + { + "name": "threshold", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DisabledModule", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "EnabledModule", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ExecutionFailure", + "inputs": [ + { + "name": "txHash", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + }, + { + "name": "payment", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ExecutionFromModuleFailure", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ExecutionFromModuleSuccess", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ExecutionSuccess", + "inputs": [ + { + "name": "txHash", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + }, + { + "name": "payment", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RemovedOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SafeReceived", + "inputs": [ + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SafeSetup", + "inputs": [ + { + "name": "initiator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "owners", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + }, + { + "name": "threshold", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "initializer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "fallbackHandler", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SignMsg", + "inputs": [ + { + "name": "msgHash", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + } + ], + "anonymous": false + } +] diff --git a/abis/GovernanceToken_abi.json b/abis/GovernanceToken_abi.json new file mode 100644 index 0000000..11bccd6 --- /dev/null +++ b/abis/GovernanceToken_abi.json @@ -0,0 +1,773 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + }, + { + "name": "wrappedToken", + "type": "address", + "internalType": "contract IERC20" + }, + { + "name": "", + "type": "string", + "internalType": "string" + }, + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "DOMAIN_SEPARATOR", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "allowance", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "burn", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "checkpoints", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "pos", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "internalType": "struct ERC20Votes.Checkpoint", + "components": [ + { + "name": "fromBlock", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "votes", + "type": "uint224", + "internalType": "uint224" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "decreaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "subtractedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "delegate", + "inputs": [ + { + "name": "delegatee", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "delegateBySig", + "inputs": [ + { + "name": "delegatee", + "type": "address", + "internalType": "address" + }, + { + "name": "nonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "expiry", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "delegates", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "depositFor", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getPastTotalSupply", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPastVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "increaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "addedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mint", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "nonces", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "numCheckpoints", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "permit", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "deadline", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "securityContext", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setSecurityContext", + "inputs": [ + { + "name": "_securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transfer", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "underlying", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IERC20" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "withdrawTo", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DelegateChanged", + "inputs": [ + { + "name": "delegator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "fromDelegate", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "toDelegate", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DelegateVotesChanged", + "inputs": [ + { + "name": "delegate", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "previousBalance", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newBalance", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SecurityContextSet", + "inputs": [ + { + "name": "caller", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "securityContext", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "UnauthorizedAccess", + "inputs": [ + { + "name": "roleId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "addr", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ZeroAddressArgument", + "inputs": [] + } +] diff --git a/abis/GovernanceVaultTest_abi.json b/abis/GovernanceVaultTest_abi.json new file mode 100644 index 0000000..9c77207 --- /dev/null +++ b/abis/GovernanceVaultTest_abi.json @@ -0,0 +1,906 @@ +[ + { + "type": "function", + "name": "IS_TEST", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "admin", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "adminHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "autoRelease", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "baal", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "communityVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "escrow", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeArtifacts", + "inputs": [], + "outputs": [ + { + "name": "excludedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeContracts", + "inputs": [], + "outputs": [ + { + "name": "excludedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSelectors", + "inputs": [], + "outputs": [ + { + "name": "excludedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSenders", + "inputs": [], + "outputs": [ + { + "name": "excludedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "failed", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "governor", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hatsCtx", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialFeeBps", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lootToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "purchaseTracker", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safe", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "script", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract DeployHamzaVault" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setUp", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "systemSettings", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifactSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifactSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzArtifactSelector[]", + "components": [ + { + "name": "artifact", + "type": "string", + "internalType": "string" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifacts", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetContracts", + "inputs": [], + "outputs": [ + { + "name": "targetedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetInterfaces", + "inputs": [], + "outputs": [ + { + "name": "targetedInterfaces_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzInterface[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "artifacts", + "type": "string[]", + "internalType": "string[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSenders", + "inputs": [], + "outputs": [ + { + "name": "targetedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "testBasicDeposit", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testCannotWithdrawBeforeVesting", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDepositForAnotherUser", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDistributeRewardsAfterVesting", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testFullWithdrawalAfterVestingWithRewards", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testGovernanceVaultSetup", + "inputs": [], + "outputs": [], + "stateMutability": "view" + }, + { + "type": "function", + "name": "testNoRewardsDistributedIfNotVested", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testPartialWithdrawal", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "timeLockDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "user", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "userLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vaultLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vestingPeriodFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "log", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_address", + "inputs": [ + { + "name": "", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes32", + "inputs": [ + { + "name": "", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_int", + "inputs": [ + { + "name": "", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_address", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes32", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_string", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_string", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_uint", + "inputs": [ + { + "name": "", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "logs", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/GovernanceVault_abi.json b/abis/GovernanceVault_abi.json new file mode 100644 index 0000000..4230841 --- /dev/null +++ b/abis/GovernanceVault_abi.json @@ -0,0 +1,307 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + }, + { + "name": "lootTokenAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "governanceTokenAddress", + "type": "address", + "internalType": "contract GovernanceToken" + }, + { + "name": "vestingPeriod", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "communityVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "deposit", + "inputs": [ + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "depositFor", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deposits", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "stakedAt", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "rewardsDistributed", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "distributeRewards", + "inputs": [ + { + "name": "staker", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "governanceToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract GovernanceToken" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lootToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IERC20" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "securityContext", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setCommunityVault", + "inputs": [ + { + "name": "_communityVault", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setSecurityContext", + "inputs": [ + { + "name": "_securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "vestingPeriodSeconds", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "withdraw", + "inputs": [ + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Deposited", + "inputs": [ + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RewardDistributed", + "inputs": [ + { + "name": "staker", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SecurityContextSet", + "inputs": [ + { + "name": "caller", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "securityContext", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Withdrawn", + "inputs": [ + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "UnauthorizedAccess", + "inputs": [ + { + "name": "roleId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "addr", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ZeroAddressArgument", + "inputs": [] + } +] diff --git a/abis/GovernorCompatibilityBravo_abi.json b/abis/GovernorCompatibilityBravo_abi.json new file mode 100644 index 0000000..2828025 --- /dev/null +++ b/abis/GovernorCompatibilityBravo_abi.json @@ -0,0 +1,1181 @@ +[ + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "COUNTING_MODE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "EXTENDED_BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "cancel", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVote", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReason", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParams", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParamsBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getActions", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getReceipt", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "voter", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "internalType": "struct IGovernorCompatibilityBravo.Receipt", + "components": [ + { + "name": "hasVoted", + "type": "bool", + "internalType": "bool" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "votes", + "type": "uint96", + "internalType": "uint96" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotesWithParams", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hasVoted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashProposal", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "onERC1155BatchReceived", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC1155Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC721Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proposalDeadline", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalEta", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalSnapshot", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalThreshold", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposals", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "internalType": "address" + }, + { + "name": "eta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "startBlock", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "forVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "againstVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "abstainVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "canceled", + "type": "bool", + "internalType": "bool" + }, + { + "name": "executed", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "queue", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "queue", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "quorum", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quorumVotes", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "relay", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "state", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "enum IGovernor.ProposalState" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "timelock", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "ProposalCanceled", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalCreated", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "targets", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "indexed": false, + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "indexed": false, + "internalType": "bytes[]" + }, + { + "name": "startBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "description", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalExecuted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalQueued", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "eta", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCast", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCastWithParams", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "Empty", + "inputs": [] + } +] diff --git a/abis/GovernorTimelockControl_abi.json b/abis/GovernorTimelockControl_abi.json new file mode 100644 index 0000000..ca579a9 --- /dev/null +++ b/abis/GovernorTimelockControl_abi.json @@ -0,0 +1,983 @@ +[ + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "COUNTING_MODE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "EXTENDED_BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "castVote", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReason", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParams", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParamsBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotesWithParams", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hasVoted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashProposal", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "onERC1155BatchReceived", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC1155Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC721Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proposalDeadline", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalEta", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalSnapshot", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalThreshold", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "queue", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "quorum", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "relay", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "state", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "enum IGovernor.ProposalState" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "timelock", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "updateTimelock", + "inputs": [ + { + "name": "newTimelock", + "type": "address", + "internalType": "contract TimelockController" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "ProposalCanceled", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalCreated", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "targets", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "indexed": false, + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "indexed": false, + "internalType": "bytes[]" + }, + { + "name": "startBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "description", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalExecuted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalQueued", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "eta", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TimelockChange", + "inputs": [ + { + "name": "oldTimelock", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newTimelock", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCast", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCastWithParams", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "Empty", + "inputs": [] + } +] diff --git a/abis/GovernorVotesQuorumFraction_abi.json b/abis/GovernorVotesQuorumFraction_abi.json new file mode 100644 index 0000000..a7fe7e0 --- /dev/null +++ b/abis/GovernorVotesQuorumFraction_abi.json @@ -0,0 +1,956 @@ +[ + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "COUNTING_MODE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "EXTENDED_BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "castVote", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReason", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParams", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParamsBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotesWithParams", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hasVoted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashProposal", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "onERC1155BatchReceived", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC1155Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC721Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proposalDeadline", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalSnapshot", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalThreshold", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "quorum", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quorumDenominator", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quorumNumerator", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quorumNumerator", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "relay", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "state", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "enum IGovernor.ProposalState" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "token", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IVotes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "updateQuorumNumerator", + "inputs": [ + { + "name": "newQuorumNumerator", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "ProposalCanceled", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalCreated", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "targets", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "indexed": false, + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "indexed": false, + "internalType": "bytes[]" + }, + { + "name": "startBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "description", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalExecuted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "QuorumNumeratorUpdated", + "inputs": [ + { + "name": "oldQuorumNumerator", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newQuorumNumerator", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCast", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCastWithParams", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "Empty", + "inputs": [] + } +] diff --git a/abis/GovernorVotes_abi.json b/abis/GovernorVotes_abi.json new file mode 100644 index 0000000..c3ec95b --- /dev/null +++ b/abis/GovernorVotes_abi.json @@ -0,0 +1,879 @@ +[ + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "COUNTING_MODE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "EXTENDED_BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "castVote", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReason", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParams", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParamsBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotesWithParams", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hasVoted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashProposal", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "onERC1155BatchReceived", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC1155Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC721Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proposalDeadline", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalSnapshot", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalThreshold", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "quorum", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "relay", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "state", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "enum IGovernor.ProposalState" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "token", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IVotes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "ProposalCanceled", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalCreated", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "targets", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "indexed": false, + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "indexed": false, + "internalType": "bytes[]" + }, + { + "name": "startBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "description", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalExecuted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCast", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCastWithParams", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "Empty", + "inputs": [] + } +] diff --git a/abis/Governor_abi.json b/abis/Governor_abi.json new file mode 100644 index 0000000..7292cda --- /dev/null +++ b/abis/Governor_abi.json @@ -0,0 +1,866 @@ +[ + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "COUNTING_MODE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "EXTENDED_BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "castVote", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReason", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParams", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParamsBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotesWithParams", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hasVoted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashProposal", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "onERC1155BatchReceived", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC1155Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC721Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proposalDeadline", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalSnapshot", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalThreshold", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "quorum", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "relay", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "state", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "enum IGovernor.ProposalState" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "ProposalCanceled", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalCreated", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "targets", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "indexed": false, + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "indexed": false, + "internalType": "bytes[]" + }, + { + "name": "startBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "description", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalExecuted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCast", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCastWithParams", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "Empty", + "inputs": [] + } +] diff --git a/abis/GuardManager_abi.json b/abis/GuardManager_abi.json new file mode 100644 index 0000000..5515e58 --- /dev/null +++ b/abis/GuardManager_abi.json @@ -0,0 +1,28 @@ +[ + { + "type": "function", + "name": "setGuard", + "inputs": [ + { + "name": "guard", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "ChangedGuard", + "inputs": [ + { + "name": "guard", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/Guard_abi.json b/abis/Guard_abi.json new file mode 100644 index 0000000..f02e99e --- /dev/null +++ b/abis/Guard_abi.json @@ -0,0 +1,83 @@ +[ + { + "type": "function", + "name": "checkAfterExecution", + "inputs": [ + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "checkTransaction", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + }, + { + "name": "safeTxGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "baseGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasPrice", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasToken", + "type": "address", + "internalType": "address" + }, + { + "name": "refundReceiver", + "type": "address", + "internalType": "address payable" + }, + { + "name": "signatures", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "msgSender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/Guardable_abi.json b/abis/Guardable_abi.json new file mode 100644 index 0000000..7f3f70b --- /dev/null +++ b/abis/Guardable_abi.json @@ -0,0 +1,130 @@ +[ + { + "type": "function", + "name": "getGuard", + "inputs": [], + "outputs": [ + { + "name": "_guard", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "guard", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setGuard", + "inputs": [ + { + "name": "_guard", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "ChangedGuard", + "inputs": [ + { + "name": "guard", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "NotIERC165Compliant", + "inputs": [ + { + "name": "guard_", + "type": "address", + "internalType": "address" + } + ] + } +] diff --git a/abis/HamzaGovernor_abi.json b/abis/HamzaGovernor_abi.json new file mode 100644 index 0000000..52ba0cc --- /dev/null +++ b/abis/HamzaGovernor_abi.json @@ -0,0 +1,1353 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_token", + "type": "address", + "internalType": "contract IVotes" + }, + { + "name": "_timelock", + "type": "address", + "internalType": "contract TimelockController" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "COUNTING_MODE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "EXTENDED_BALLOT_TYPEHASH", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "cancel", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "cancel", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVote", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReason", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParams", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParamsBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getActions", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getReceipt", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "voter", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "internalType": "struct IGovernorCompatibilityBravo.Receipt", + "components": [ + { + "name": "hasVoted", + "type": "bool", + "internalType": "bool" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "votes", + "type": "uint96", + "internalType": "uint96" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotesWithParams", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hasVoted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashProposal", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "onERC1155BatchReceived", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC1155Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC721Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proposalDeadline", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalEta", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalSnapshot", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalThreshold", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "proposals", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "internalType": "address" + }, + { + "name": "eta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "startBlock", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "forVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "againstVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "abstainVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "canceled", + "type": "bool", + "internalType": "bool" + }, + { + "name": "executed", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "queue", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "queue", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "quorum", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quorumDenominator", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quorumNumerator", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quorumNumerator", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quorumVotes", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "relay", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "state", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "enum IGovernor.ProposalState" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "timelock", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "token", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IVotes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "updateQuorumNumerator", + "inputs": [ + { + "name": "newQuorumNumerator", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "updateTimelock", + "inputs": [ + { + "name": "newTimelock", + "type": "address", + "internalType": "contract TimelockController" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "event", + "name": "ProposalCanceled", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalCreated", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "targets", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "indexed": false, + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "indexed": false, + "internalType": "bytes[]" + }, + { + "name": "startBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "description", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalExecuted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalQueued", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "eta", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "QuorumNumeratorUpdated", + "inputs": [ + { + "name": "oldQuorumNumerator", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newQuorumNumerator", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TimelockChange", + "inputs": [ + { + "name": "oldTimelock", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newTimelock", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCast", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCastWithParams", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "Empty", + "inputs": [] + } +] diff --git a/abis/HasSecurityContext_abi.json b/abis/HasSecurityContext_abi.json new file mode 100644 index 0000000..4376977 --- /dev/null +++ b/abis/HasSecurityContext_abi.json @@ -0,0 +1,68 @@ +[ + { + "type": "function", + "name": "securityContext", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setSecurityContext", + "inputs": [ + { + "name": "_securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "SecurityContextSet", + "inputs": [ + { + "name": "caller", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "securityContext", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "UnauthorizedAccess", + "inputs": [ + { + "name": "roleId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "addr", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ZeroAddressArgument", + "inputs": [] + } +] diff --git a/abis/HatsDeployment_abi.json b/abis/HatsDeployment_abi.json new file mode 100644 index 0000000..9df727c --- /dev/null +++ b/abis/HatsDeployment_abi.json @@ -0,0 +1,265 @@ +[ + { + "type": "function", + "name": "IS_SCRIPT", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "adminAddress2", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "adminHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "arbiterHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "burnerHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "daoHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "deployedSafe", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "eligibilityModule", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract EligibilityModule" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hats", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract Hats" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "minterHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pauserHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "run", + "inputs": [], + "outputs": [ + { + "name": "safeAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "hatsAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "eligibilityModuleAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "toggleModuleAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "securityContextAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "_adminHatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_arbiterHatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_daoHatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_systemHatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_pauserHatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_minterHatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_burnerHatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "securityContext", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract HatsSecurityContext" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "systemHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "toggleModule", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ToggleModule" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "topHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/HatsErrors_abi.json b/abis/HatsErrors_abi.json new file mode 100644 index 0000000..8ae1e41 --- /dev/null +++ b/abis/HatsErrors_abi.json @@ -0,0 +1,141 @@ +[ + { + "type": "error", + "name": "AllHatsWorn", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "AlreadyWearingHat", + "inputs": [ + { + "name": "wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "BatchArrayLengthMismatch", + "inputs": [] + }, + { + "type": "error", + "name": "CircularLinkage", + "inputs": [] + }, + { + "type": "error", + "name": "CrossTreeLinkage", + "inputs": [] + }, + { + "type": "error", + "name": "HatDoesNotExist", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "HatNotActive", + "inputs": [] + }, + { + "type": "error", + "name": "Immutable", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidHatId", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidUnlink", + "inputs": [] + }, + { + "type": "error", + "name": "LinkageNotRequested", + "inputs": [] + }, + { + "type": "error", + "name": "MaxLevelsReached", + "inputs": [] + }, + { + "type": "error", + "name": "NewMaxSupplyTooLow", + "inputs": [] + }, + { + "type": "error", + "name": "NotAdmin", + "inputs": [ + { + "name": "user", + "type": "address", + "internalType": "address" + }, + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "NotAdminOrWearer", + "inputs": [] + }, + { + "type": "error", + "name": "NotEligible", + "inputs": [] + }, + { + "type": "error", + "name": "NotHatWearer", + "inputs": [] + }, + { + "type": "error", + "name": "NotHatsEligibility", + "inputs": [] + }, + { + "type": "error", + "name": "NotHatsToggle", + "inputs": [] + }, + { + "type": "error", + "name": "StringTooLong", + "inputs": [] + }, + { + "type": "error", + "name": "ZeroAddress", + "inputs": [] + } +] diff --git a/abis/HatsEvents_abi.json b/abis/HatsEvents_abi.json new file mode 100644 index 0000000..b03db53 --- /dev/null +++ b/abis/HatsEvents_abi.json @@ -0,0 +1,241 @@ +[ + { + "type": "event", + "name": "HatCreated", + "inputs": [ + { + "name": "id", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "details", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "maxSupply", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "eligibility", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "toggle", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "mutable_", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "imageURI", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatDetailsChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newDetails", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatEligibilityChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newEligibility", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatImageURIChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newImageURI", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatMaxSupplyChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newMaxSupply", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatMutabilityChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatStatusChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newStatus", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatToggleChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newToggle", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TopHatLinkRequested", + "inputs": [ + { + "name": "domain", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "newAdmin", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TopHatLinked", + "inputs": [ + { + "name": "domain", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "newAdmin", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "WearerStandingChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "wearer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "wearerStanding", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + } +] diff --git a/abis/HatsIdUtilities_abi.json b/abis/HatsIdUtilities_abi.json new file mode 100644 index 0000000..8b9186c --- /dev/null +++ b/abis/HatsIdUtilities_abi.json @@ -0,0 +1,298 @@ +[ + { + "type": "function", + "name": "buildHatId", + "inputs": [ + { + "name": "_admin", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newHat", + "type": "uint16", + "internalType": "uint16" + } + ], + "outputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "getAdminAtLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_level", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "admin", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getAdminAtLocalLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_level", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "admin", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "getHatLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "level", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getLocalHatLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "level", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "getTippyTopHatDomain", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "domain", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTopHatDomain", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "domain", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "isLocalTopHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_isLocalTopHat", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "isTopHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_isTopHat", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isValidHatId", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "validHatId", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "linkedTreeAdmins", + "inputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "linkedTreeRequests", + "inputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "noCircularLinkage", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_linkedAdmin", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "notCircular", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "sameTippyTopHatDomain", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_newAdminHat", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "sameDomain", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "error", + "name": "MaxLevelsReached", + "inputs": [] + } +] diff --git a/abis/HatsSecurityContext_abi.json b/abis/HatsSecurityContext_abi.json new file mode 100644 index 0000000..6856e0b --- /dev/null +++ b/abis/HatsSecurityContext_abi.json @@ -0,0 +1,92 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_hats", + "type": "address", + "internalType": "address" + }, + { + "name": "_adminHatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "hasRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hats", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract Hats" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "roleToHatId", + "inputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setRoleHat", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/Hats_abi.json b/abis/Hats_abi.json new file mode 100644 index 0000000..e326f70 --- /dev/null +++ b/abis/Hats_abi.json @@ -0,0 +1,1901 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_name", + "type": "string", + "internalType": "string" + }, + { + "name": "_baseImageURI", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "approveLinkTopHatToTree", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_newAdminHat", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_eligibility", + "type": "address", + "internalType": "address" + }, + { + "name": "_toggle", + "type": "address", + "internalType": "address" + }, + { + "name": "_details", + "type": "string", + "internalType": "string" + }, + { + "name": "_imageURI", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "badStandings", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "_wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "balanceOfBatch", + "inputs": [ + { + "name": "_wearers", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "_hatIds", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [ + { + "name": "balances", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "baseImageURI", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "batchCreateHats", + "inputs": [ + { + "name": "_admins", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "_details", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "_maxSupplies", + "type": "uint32[]", + "internalType": "uint32[]" + }, + { + "name": "_eligibilityModules", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "_toggleModules", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "_mutables", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "_imageURIs", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "batchMintHats", + "inputs": [ + { + "name": "_hatIds", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "_wearers", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "buildHatId", + "inputs": [ + { + "name": "_admin", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newHat", + "type": "uint16", + "internalType": "uint16" + } + ], + "outputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "changeHatDetails", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newDetails", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "changeHatEligibility", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newEligibility", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "changeHatImageURI", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newImageURI", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "changeHatMaxSupply", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newMaxSupply", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "changeHatToggle", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newToggle", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "checkHatStatus", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "toggled", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "checkHatWearerStatus", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_wearer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "updated", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createHat", + "inputs": [ + { + "name": "_admin", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_details", + "type": "string", + "internalType": "string" + }, + { + "name": "_maxSupply", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_eligibility", + "type": "address", + "internalType": "address" + }, + { + "name": "_toggle", + "type": "address", + "internalType": "address" + }, + { + "name": "_mutable", + "type": "bool", + "internalType": "bool" + }, + { + "name": "_imageURI", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "newHatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getAdminAtLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_level", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "admin", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getAdminAtLocalLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_level", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "admin", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "getHatEligibilityModule", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "eligibility", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getHatLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "level", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getHatMaxSupply", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "maxSupply", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getHatToggleModule", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "toggle", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getImageURIForHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_uri", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getLocalHatLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "level", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "getNextId", + "inputs": [ + { + "name": "_admin", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "nextId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTippyTopHatDomain", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "domain", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTopHatDomain", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "domain", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "hatSupply", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "supply", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isActive", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "active", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isAdminOfHat", + "inputs": [ + { + "name": "_user", + "type": "address", + "internalType": "address" + }, + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "isAdmin", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isApprovedForAll", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isEligible", + "inputs": [ + { + "name": "_wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "eligible", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isInGoodStanding", + "inputs": [ + { + "name": "_wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "standing", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isLocalTopHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_isLocalTopHat", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "isTopHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_isTopHat", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isValidHatId", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "validHatId", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "isWearerOfHat", + "inputs": [ + { + "name": "_user", + "type": "address", + "internalType": "address" + }, + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "isWearer", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lastTopHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "linkedTreeAdmins", + "inputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "linkedTreeRequests", + "inputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "makeHatImmutable", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mintHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_wearer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mintTopHat", + "inputs": [ + { + "name": "_target", + "type": "address", + "internalType": "address" + }, + { + "name": "_details", + "type": "string", + "internalType": "string" + }, + { + "name": "_imageURI", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "topHatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "multicall", + "inputs": [ + { + "name": "data", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "noCircularLinkage", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_linkedAdmin", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "notCircular", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "relinkTopHatWithinTree", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_newAdminHat", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_eligibility", + "type": "address", + "internalType": "address" + }, + { + "name": "_toggle", + "type": "address", + "internalType": "address" + }, + { + "name": "_details", + "type": "string", + "internalType": "string" + }, + { + "name": "_imageURI", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "renounceHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "requestLinkTopHatToTree", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_requestedAdminHat", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "safeBatchTransferFrom", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "safeTransferFrom", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "sameTippyTopHatDomain", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_newAdminHat", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "sameDomain", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setApprovalForAll", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "setHatStatus", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newStatus", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "toggled", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setHatWearerStatus", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "_eligible", + "type": "bool", + "internalType": "bool" + }, + { + "name": "_standing", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "updated", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "transferHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unlinkTopHatFromTree", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_wearer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "uri", + "inputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_uri", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "viewHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "details", + "type": "string", + "internalType": "string" + }, + { + "name": "maxSupply", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "supply", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "eligibility", + "type": "address", + "internalType": "address" + }, + { + "name": "toggle", + "type": "address", + "internalType": "address" + }, + { + "name": "imageURI", + "type": "string", + "internalType": "string" + }, + { + "name": "lastHatId", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "mutable_", + "type": "bool", + "internalType": "bool" + }, + { + "name": "active", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "ApprovalForAll", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "approved", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatCreated", + "inputs": [ + { + "name": "id", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "details", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "maxSupply", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "eligibility", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "toggle", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "mutable_", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "imageURI", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatDetailsChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newDetails", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatEligibilityChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newEligibility", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatImageURIChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newImageURI", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatMaxSupplyChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newMaxSupply", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatMutabilityChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatStatusChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newStatus", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatToggleChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newToggle", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TopHatLinkRequested", + "inputs": [ + { + "name": "domain", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "newAdmin", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TopHatLinked", + "inputs": [ + { + "name": "domain", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "newAdmin", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TransferBatch", + "inputs": [ + { + "name": "operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "ids", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "amounts", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TransferSingle", + "inputs": [ + { + "name": "operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "URI", + "inputs": [ + { + "name": "value", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "id", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "WearerStandingChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "wearer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "wearerStanding", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "AllHatsWorn", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "AlreadyWearingHat", + "inputs": [ + { + "name": "wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "BatchArrayLengthMismatch", + "inputs": [] + }, + { + "type": "error", + "name": "CircularLinkage", + "inputs": [] + }, + { + "type": "error", + "name": "CrossTreeLinkage", + "inputs": [] + }, + { + "type": "error", + "name": "HatDoesNotExist", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "HatNotActive", + "inputs": [] + }, + { + "type": "error", + "name": "Immutable", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidHatId", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidUnlink", + "inputs": [] + }, + { + "type": "error", + "name": "LinkageNotRequested", + "inputs": [] + }, + { + "type": "error", + "name": "MaxLevelsReached", + "inputs": [] + }, + { + "type": "error", + "name": "MaxLevelsReached", + "inputs": [] + }, + { + "type": "error", + "name": "NewMaxSupplyTooLow", + "inputs": [] + }, + { + "type": "error", + "name": "NotAdmin", + "inputs": [ + { + "name": "user", + "type": "address", + "internalType": "address" + }, + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "NotAdminOrWearer", + "inputs": [] + }, + { + "type": "error", + "name": "NotEligible", + "inputs": [] + }, + { + "type": "error", + "name": "NotHatWearer", + "inputs": [] + }, + { + "type": "error", + "name": "NotHatsEligibility", + "inputs": [] + }, + { + "type": "error", + "name": "NotHatsToggle", + "inputs": [] + }, + { + "type": "error", + "name": "StringTooLong", + "inputs": [] + }, + { + "type": "error", + "name": "ZeroAddress", + "inputs": [] + } +] diff --git a/abis/IAccessControl_abi.json b/abis/IAccessControl_abi.json new file mode 100644 index 0000000..42cc26d --- /dev/null +++ b/abis/IAccessControl_abi.json @@ -0,0 +1,174 @@ +[ + { + "type": "function", + "name": "getRoleAdmin", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "grantRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "hasRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revokeRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "RoleAdminChanged", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "previousAdminRole", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "newAdminRole", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleGranted", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleRevoked", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/IAvatar_abi.json b/abis/IAvatar_abi.json new file mode 100644 index 0000000..bc5e0fc --- /dev/null +++ b/abis/IAvatar_abi.json @@ -0,0 +1,206 @@ +[ + { + "type": "function", + "name": "disableModule", + "inputs": [ + { + "name": "prevModule", + "type": "address", + "internalType": "address" + }, + { + "name": "module", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "enableModule", + "inputs": [ + { + "name": "module", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execTransactionFromModule", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execTransactionFromModuleReturnData", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getModulesPaginated", + "inputs": [ + { + "name": "start", + "type": "address", + "internalType": "address" + }, + { + "name": "pageSize", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "array", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "next", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isModuleEnabled", + "inputs": [ + { + "name": "module", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "DisabledModule", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "EnabledModule", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ExecutionFromModuleFailure", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ExecutionFromModuleSuccess", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/IBaalToken_abi.json b/abis/IBaalToken_abi.json new file mode 100644 index 0000000..534faf2 --- /dev/null +++ b/abis/IBaalToken_abi.json @@ -0,0 +1,423 @@ +[ + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "balanceOfAt", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "snapshotId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "burn", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "delegate", + "inputs": [ + { + "name": "delegatee", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "delegateBySig", + "inputs": [ + { + "name": "delegatee", + "type": "address", + "internalType": "address" + }, + { + "name": "nonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "expiry", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "delegates", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "delegationNonces", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getCheckpoint", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "internalType": "struct IBaalToken.Checkpoint", + "components": [ + { + "name": "fromTimePoint", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "votes", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getCurrentSnapshotId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getPastVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "timePoint", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "mint", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "numCheckpoints", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pause", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "paused", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setUp", + "inputs": [ + { + "name": "_name", + "type": "string", + "internalType": "string" + }, + { + "name": "_symbol", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "snapshot", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupplyAt", + "inputs": [ + { + "name": "snapshotId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unpause", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/IBeaconUpgradeable_abi.json b/abis/IBeaconUpgradeable_abi.json new file mode 100644 index 0000000..299c145 --- /dev/null +++ b/abis/IBeaconUpgradeable_abi.json @@ -0,0 +1,15 @@ +[ + { + "type": "function", + "name": "implementation", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IBeacon_abi.json b/abis/IBeacon_abi.json new file mode 100644 index 0000000..299c145 --- /dev/null +++ b/abis/IBeacon_abi.json @@ -0,0 +1,15 @@ +[ + { + "type": "function", + "name": "implementation", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/ICommunityRewardsCalculator_abi.json b/abis/ICommunityRewardsCalculator_abi.json new file mode 100644 index 0000000..3e6fae9 --- /dev/null +++ b/abis/ICommunityRewardsCalculator_abi.json @@ -0,0 +1,31 @@ +[ + { + "type": "function", + "name": "getRewardsToDistribute", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + }, + { + "name": "recipients", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "purchaseTracker", + "type": "address", + "internalType": "contract IPurchaseTracker" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "nonpayable" + } +] diff --git a/abis/IERC1155Receiver_abi.json b/abis/IERC1155Receiver_abi.json new file mode 100644 index 0000000..67f34e2 --- /dev/null +++ b/abis/IERC1155Receiver_abi.json @@ -0,0 +1,99 @@ +[ + { + "type": "function", + "name": "onERC1155BatchReceived", + "inputs": [ + { + "name": "operator", + "type": "address", + "internalType": "address" + }, + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "ids", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC1155Received", + "inputs": [ + { + "name": "operator", + "type": "address", + "internalType": "address" + }, + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IERC165_abi.json b/abis/IERC165_abi.json new file mode 100644 index 0000000..7a66006 --- /dev/null +++ b/abis/IERC165_abi.json @@ -0,0 +1,21 @@ +[ + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceID", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IERC1822ProxiableUpgradeable_abi.json b/abis/IERC1822ProxiableUpgradeable_abi.json new file mode 100644 index 0000000..2f9e2fd --- /dev/null +++ b/abis/IERC1822ProxiableUpgradeable_abi.json @@ -0,0 +1,15 @@ +[ + { + "type": "function", + "name": "proxiableUUID", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IERC1822Proxiable_abi.json b/abis/IERC1822Proxiable_abi.json new file mode 100644 index 0000000..2f9e2fd --- /dev/null +++ b/abis/IERC1822Proxiable_abi.json @@ -0,0 +1,15 @@ +[ + { + "type": "function", + "name": "proxiableUUID", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IERC1967Upgradeable_abi.json b/abis/IERC1967Upgradeable_abi.json new file mode 100644 index 0000000..50bc8bf --- /dev/null +++ b/abis/IERC1967Upgradeable_abi.json @@ -0,0 +1,47 @@ +[ + { + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ + { + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Upgraded", + "inputs": [ + { + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/IERC1967_abi.json b/abis/IERC1967_abi.json new file mode 100644 index 0000000..50bc8bf --- /dev/null +++ b/abis/IERC1967_abi.json @@ -0,0 +1,47 @@ +[ + { + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ + { + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Upgraded", + "inputs": [ + { + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/IERC20Metadata_abi.json b/abis/IERC20Metadata_abi.json new file mode 100644 index 0000000..2ec1d7c --- /dev/null +++ b/abis/IERC20Metadata_abi.json @@ -0,0 +1,224 @@ +[ + { + "type": "function", + "name": "allowance", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transfer", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/IERC20Permit_abi.json b/abis/IERC20Permit_abi.json new file mode 100644 index 0000000..42565e0 --- /dev/null +++ b/abis/IERC20Permit_abi.json @@ -0,0 +1,77 @@ +[ + { + "type": "function", + "name": "DOMAIN_SEPARATOR", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "nonces", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "permit", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "deadline", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/IERC20_abi.json b/abis/IERC20_abi.json new file mode 100644 index 0000000..72f2c96 --- /dev/null +++ b/abis/IERC20_abi.json @@ -0,0 +1,185 @@ +[ + { + "type": "function", + "name": "allowance", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transfer", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/IERC721Enumerable_abi.json b/abis/IERC721Enumerable_abi.json new file mode 100644 index 0000000..76dcb3d --- /dev/null +++ b/abis/IERC721Enumerable_abi.json @@ -0,0 +1,343 @@ +[ + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "_approved", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "_owner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getApproved", + "inputs": [ + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isApprovedForAll", + "inputs": [ + { + "name": "_owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_operator", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "ownerOf", + "inputs": [ + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safeTransferFrom", + "inputs": [ + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "safeTransferFrom", + "inputs": [ + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "setApprovalForAll", + "inputs": [ + { + "name": "_operator", + "type": "address", + "internalType": "address" + }, + { + "name": "_approved", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceID", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "tokenByIndex", + "inputs": [ + { + "name": "_index", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "tokenOfOwnerByIndex", + "inputs": [ + { + "name": "_owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_index", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "_owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_approved", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ApprovalForAll", + "inputs": [ + { + "name": "_owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_approved", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "_from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/IERC721Metadata_abi.json b/abis/IERC721Metadata_abi.json new file mode 100644 index 0000000..922c336 --- /dev/null +++ b/abis/IERC721Metadata_abi.json @@ -0,0 +1,332 @@ +[ + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "_approved", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "_owner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getApproved", + "inputs": [ + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isApprovedForAll", + "inputs": [ + { + "name": "_owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_operator", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "_name", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "ownerOf", + "inputs": [ + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safeTransferFrom", + "inputs": [ + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "safeTransferFrom", + "inputs": [ + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "setApprovalForAll", + "inputs": [ + { + "name": "_operator", + "type": "address", + "internalType": "address" + }, + { + "name": "_approved", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceID", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "_symbol", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "tokenURI", + "inputs": [ + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "_owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_approved", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ApprovalForAll", + "inputs": [ + { + "name": "_owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_approved", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "_from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/IERC721Receiver_abi.json b/abis/IERC721Receiver_abi.json new file mode 100644 index 0000000..0d8f149 --- /dev/null +++ b/abis/IERC721Receiver_abi.json @@ -0,0 +1,36 @@ +[ + { + "type": "function", + "name": "onERC721Received", + "inputs": [ + { + "name": "operator", + "type": "address", + "internalType": "address" + }, + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + } +] diff --git a/abis/IERC721TokenReceiver_abi.json b/abis/IERC721TokenReceiver_abi.json new file mode 100644 index 0000000..7e9fc44 --- /dev/null +++ b/abis/IERC721TokenReceiver_abi.json @@ -0,0 +1,36 @@ +[ + { + "type": "function", + "name": "onERC721Received", + "inputs": [ + { + "name": "_operator", + "type": "address", + "internalType": "address" + }, + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + } +] diff --git a/abis/IERC721_abi.json b/abis/IERC721_abi.json new file mode 100644 index 0000000..85bfab4 --- /dev/null +++ b/abis/IERC721_abi.json @@ -0,0 +1,287 @@ +[ + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "_approved", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "_owner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getApproved", + "inputs": [ + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isApprovedForAll", + "inputs": [ + { + "name": "_owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_operator", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "ownerOf", + "inputs": [ + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safeTransferFrom", + "inputs": [ + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "safeTransferFrom", + "inputs": [ + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "setApprovalForAll", + "inputs": [ + { + "name": "_operator", + "type": "address", + "internalType": "address" + }, + { + "name": "_approved", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceID", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "_owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_approved", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ApprovalForAll", + "inputs": [ + { + "name": "_owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_approved", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "_from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/IEscrowContract_abi.json b/abis/IEscrowContract_abi.json new file mode 100644 index 0000000..b682eca --- /dev/null +++ b/abis/IEscrowContract_abi.json @@ -0,0 +1,42 @@ +[ + { + "type": "function", + "name": "placePayment", + "inputs": [ + { + "name": "payment", + "type": "tuple", + "internalType": "struct PaymentInput", + "components": [ + { + "name": "currency", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "payer", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "outputs": [], + "stateMutability": "payable" + } +] diff --git a/abis/IGnosisSafe_abi.json b/abis/IGnosisSafe_abi.json new file mode 100644 index 0000000..dd61495 --- /dev/null +++ b/abis/IGnosisSafe_abi.json @@ -0,0 +1,15 @@ +[ + { + "type": "function", + "name": "nonce", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IGovernorCompatibilityBravo_abi.json b/abis/IGovernorCompatibilityBravo_abi.json new file mode 100644 index 0000000..5510afc --- /dev/null +++ b/abis/IGovernorCompatibilityBravo_abi.json @@ -0,0 +1,913 @@ +[ + { + "type": "function", + "name": "COUNTING_MODE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "cancel", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVote", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReason", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParams", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParamsBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getActions", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getReceipt", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "voter", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "internalType": "struct IGovernorCompatibilityBravo.Receipt", + "components": [ + { + "name": "hasVoted", + "type": "bool", + "internalType": "bool" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "votes", + "type": "uint96", + "internalType": "uint96" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotesWithParams", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hasVoted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashProposal", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalDeadline", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalSnapshot", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposals", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "internalType": "address" + }, + { + "name": "eta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "startBlock", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "forVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "againstVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "abstainVotes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "canceled", + "type": "bool", + "internalType": "bool" + }, + { + "name": "executed", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "queue", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "quorum", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quorumVotes", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "state", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "enum IGovernor.ProposalState" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "ProposalCanceled", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalCreated", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "targets", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "indexed": false, + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "indexed": false, + "internalType": "bytes[]" + }, + { + "name": "startBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "description", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalExecuted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCast", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCastWithParams", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/IGovernorTimelock_abi.json b/abis/IGovernorTimelock_abi.json new file mode 100644 index 0000000..d92b3f1 --- /dev/null +++ b/abis/IGovernorTimelock_abi.json @@ -0,0 +1,768 @@ +[ + { + "type": "function", + "name": "COUNTING_MODE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "castVote", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReason", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParams", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParamsBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotesWithParams", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hasVoted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashProposal", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalDeadline", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalEta", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalSnapshot", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "queue", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "quorum", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "state", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "enum IGovernor.ProposalState" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "timelock", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "ProposalCanceled", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalCreated", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "targets", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "indexed": false, + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "indexed": false, + "internalType": "bytes[]" + }, + { + "name": "startBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "description", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalExecuted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalQueued", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "eta", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCast", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCastWithParams", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/IGovernor_abi.json b/abis/IGovernor_abi.json new file mode 100644 index 0000000..3201b5a --- /dev/null +++ b/abis/IGovernor_abi.json @@ -0,0 +1,683 @@ +[ + { + "type": "function", + "name": "COUNTING_MODE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "castVote", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReason", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParams", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "castVoteWithReasonAndParamsBySig", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotesWithParams", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hasVoted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashProposal", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalDeadline", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalSnapshot", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "propose", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "quorum", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "state", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "enum IGovernor.ProposalState" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "version", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "ProposalCanceled", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalCreated", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "proposer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "targets", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "indexed": false, + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "indexed": false, + "internalType": "bytes[]" + }, + { + "name": "startBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "endBlock", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "description", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ProposalExecuted", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCast", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VoteCastWithParams", + "inputs": [ + { + "name": "voter", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, + { + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/IGuard_abi.json b/abis/IGuard_abi.json new file mode 100644 index 0000000..f02e99e --- /dev/null +++ b/abis/IGuard_abi.json @@ -0,0 +1,83 @@ +[ + { + "type": "function", + "name": "checkAfterExecution", + "inputs": [ + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "checkTransaction", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + }, + { + "name": "safeTxGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "baseGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasPrice", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gasToken", + "type": "address", + "internalType": "address" + }, + { + "name": "refundReceiver", + "type": "address", + "internalType": "address payable" + }, + { + "name": "signatures", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "msgSender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/IHatsEligibility_abi.json b/abis/IHatsEligibility_abi.json new file mode 100644 index 0000000..bf02a6a --- /dev/null +++ b/abis/IHatsEligibility_abi.json @@ -0,0 +1,31 @@ +[ + { + "type": "function", + "name": "getWearerStatus", + "inputs": [ + { + "name": "_wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "eligible", + "type": "bool", + "internalType": "bool" + }, + { + "name": "standing", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IHatsIdUtilities_abi.json b/abis/IHatsIdUtilities_abi.json new file mode 100644 index 0000000..13a87fe --- /dev/null +++ b/abis/IHatsIdUtilities_abi.json @@ -0,0 +1,255 @@ +[ + { + "type": "function", + "name": "buildHatId", + "inputs": [ + { + "name": "_admin", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newHat", + "type": "uint16", + "internalType": "uint16" + } + ], + "outputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "getAdminAtLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_level", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "admin", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getAdminAtLocalLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_level", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "admin", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "getHatLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "level", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getLocalHatLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "level", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "getTippyTopHatDomain", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "domain", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTopHatDomain", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "domain", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isLocalTopHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_localTopHat", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "isTopHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_topHat", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isValidHatId", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "validHatId", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "noCircularLinkage", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_linkedAdmin", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "notCircular", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "sameTippyTopHatDomain", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_newAdminHat", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "sameDomain", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IHatsSecurityContext_abi.json b/abis/IHatsSecurityContext_abi.json new file mode 100644 index 0000000..0ebbd7a --- /dev/null +++ b/abis/IHatsSecurityContext_abi.json @@ -0,0 +1,58 @@ +[ + { + "type": "function", + "name": "hasRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "hats", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract Hats" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "roleToHatId", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IHatsToggle_abi.json b/abis/IHatsToggle_abi.json new file mode 100644 index 0000000..ba757a4 --- /dev/null +++ b/abis/IHatsToggle_abi.json @@ -0,0 +1,21 @@ +[ + { + "type": "function", + "name": "getHatStatus", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IHats_abi.json b/abis/IHats_abi.json new file mode 100644 index 0000000..98c23f3 --- /dev/null +++ b/abis/IHats_abi.json @@ -0,0 +1,1496 @@ +[ + { + "type": "function", + "name": "approveLinkTopHatToTree", + "inputs": [ + { + "name": "_topHatId", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_newAdminHat", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_eligibility", + "type": "address", + "internalType": "address" + }, + { + "name": "_toggle", + "type": "address", + "internalType": "address" + }, + { + "name": "_details", + "type": "string", + "internalType": "string" + }, + { + "name": "_imageURI", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "balanceOfBatch", + "inputs": [ + { + "name": "_wearers", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "_hatIds", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "batchCreateHats", + "inputs": [ + { + "name": "_admins", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "_details", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "_maxSupplies", + "type": "uint32[]", + "internalType": "uint32[]" + }, + { + "name": "_eligibilityModules", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "_toggleModules", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "_mutables", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "_imageURIs", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "batchMintHats", + "inputs": [ + { + "name": "_hatIds", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "_wearers", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "buildHatId", + "inputs": [ + { + "name": "_admin", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newHat", + "type": "uint16", + "internalType": "uint16" + } + ], + "outputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "changeHatDetails", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newDetails", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "changeHatEligibility", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newEligibility", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "changeHatImageURI", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newImageURI", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "changeHatMaxSupply", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newMaxSupply", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "changeHatToggle", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newToggle", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "checkHatStatus", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "toggled", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "checkHatWearerStatus", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_wearer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "updated", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createHat", + "inputs": [ + { + "name": "_admin", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_details", + "type": "string", + "internalType": "string" + }, + { + "name": "_maxSupply", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_eligibility", + "type": "address", + "internalType": "address" + }, + { + "name": "_toggle", + "type": "address", + "internalType": "address" + }, + { + "name": "_mutable", + "type": "bool", + "internalType": "bool" + }, + { + "name": "_imageURI", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "newHatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getAdminAtLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_level", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "admin", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getAdminAtLocalLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_level", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "admin", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "getHatEligibilityModule", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "eligibility", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getHatLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "level", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getHatMaxSupply", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "maxSupply", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getHatToggleModule", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "toggle", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getImageURIForHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_uri", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getLocalHatLevel", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "level", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "getNextId", + "inputs": [ + { + "name": "_admin", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "nextId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTippyTopHatDomain", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "domain", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTopHatDomain", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "domain", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hatSupply", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "supply", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isAdminOfHat", + "inputs": [ + { + "name": "_user", + "type": "address", + "internalType": "address" + }, + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "isAdmin", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isEligible", + "inputs": [ + { + "name": "_wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "eligible", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isInGoodStanding", + "inputs": [ + { + "name": "_wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "standing", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isLocalTopHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_localTopHat", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "isTopHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_topHat", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isValidHatId", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "validHatId", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isWearerOfHat", + "inputs": [ + { + "name": "_user", + "type": "address", + "internalType": "address" + }, + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "isWearer", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "makeHatImmutable", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mintHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_wearer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mintTopHat", + "inputs": [ + { + "name": "_target", + "type": "address", + "internalType": "address" + }, + { + "name": "_details", + "type": "string", + "internalType": "string" + }, + { + "name": "_imageURI", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "topHatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "noCircularLinkage", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_linkedAdmin", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "notCircular", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "relinkTopHatWithinTree", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_newAdminHat", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_eligibility", + "type": "address", + "internalType": "address" + }, + { + "name": "_toggle", + "type": "address", + "internalType": "address" + }, + { + "name": "_details", + "type": "string", + "internalType": "string" + }, + { + "name": "_imageURI", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "renounceHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "requestLinkTopHatToTree", + "inputs": [ + { + "name": "_topHatId", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_newAdminHat", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sameTippyTopHatDomain", + "inputs": [ + { + "name": "_topHatDomain", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_newAdminHat", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "sameDomain", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setHatStatus", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_newStatus", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "toggled", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setHatWearerStatus", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "_eligible", + "type": "bool", + "internalType": "bool" + }, + { + "name": "_standing", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "updated", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_from", + "type": "address", + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unlinkTopHatFromTree", + "inputs": [ + { + "name": "_topHatId", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "_wearer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "uri", + "inputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "_uri", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "viewHat", + "inputs": [ + { + "name": "_hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "details", + "type": "string", + "internalType": "string" + }, + { + "name": "maxSupply", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "supply", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "eligibility", + "type": "address", + "internalType": "address" + }, + { + "name": "toggle", + "type": "address", + "internalType": "address" + }, + { + "name": "imageURI", + "type": "string", + "internalType": "string" + }, + { + "name": "lastHatId", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "mutable_", + "type": "bool", + "internalType": "bool" + }, + { + "name": "active", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "HatCreated", + "inputs": [ + { + "name": "id", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "details", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "maxSupply", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "eligibility", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "toggle", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "mutable_", + "type": "bool", + "indexed": false, + "internalType": "bool" + }, + { + "name": "imageURI", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatDetailsChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newDetails", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatEligibilityChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newEligibility", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatImageURIChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newImageURI", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatMaxSupplyChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newMaxSupply", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatMutabilityChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatStatusChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newStatus", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "HatToggleChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newToggle", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TopHatLinkRequested", + "inputs": [ + { + "name": "domain", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "newAdmin", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TopHatLinked", + "inputs": [ + { + "name": "domain", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "newAdmin", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "WearerStandingChanged", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "wearer", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "wearerStanding", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "AllHatsWorn", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "AlreadyWearingHat", + "inputs": [ + { + "name": "wearer", + "type": "address", + "internalType": "address" + }, + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "BatchArrayLengthMismatch", + "inputs": [] + }, + { + "type": "error", + "name": "CircularLinkage", + "inputs": [] + }, + { + "type": "error", + "name": "CrossTreeLinkage", + "inputs": [] + }, + { + "type": "error", + "name": "HatDoesNotExist", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "HatNotActive", + "inputs": [] + }, + { + "type": "error", + "name": "Immutable", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidHatId", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidUnlink", + "inputs": [] + }, + { + "type": "error", + "name": "LinkageNotRequested", + "inputs": [] + }, + { + "type": "error", + "name": "MaxLevelsReached", + "inputs": [] + }, + { + "type": "error", + "name": "NewMaxSupplyTooLow", + "inputs": [] + }, + { + "type": "error", + "name": "NotAdmin", + "inputs": [ + { + "name": "user", + "type": "address", + "internalType": "address" + }, + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "NotAdminOrWearer", + "inputs": [] + }, + { + "type": "error", + "name": "NotEligible", + "inputs": [] + }, + { + "type": "error", + "name": "NotHatWearer", + "inputs": [] + }, + { + "type": "error", + "name": "NotHatsEligibility", + "inputs": [] + }, + { + "type": "error", + "name": "NotHatsToggle", + "inputs": [] + }, + { + "type": "error", + "name": "StringTooLong", + "inputs": [] + }, + { + "type": "error", + "name": "ZeroAddress", + "inputs": [] + } +] diff --git a/abis/IMulticall3_abi.json b/abis/IMulticall3_abi.json new file mode 100644 index 0000000..1573ebd --- /dev/null +++ b/abis/IMulticall3_abi.json @@ -0,0 +1,440 @@ +[ + { + "type": "function", + "name": "aggregate", + "inputs": [ + { + "name": "calls", + "type": "tuple[]", + "internalType": "struct IMulticall3.Call[]", + "components": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "returnData", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "aggregate3", + "inputs": [ + { + "name": "calls", + "type": "tuple[]", + "internalType": "struct IMulticall3.Call3[]", + "components": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "allowFailure", + "type": "bool", + "internalType": "bool" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ + { + "name": "returnData", + "type": "tuple[]", + "internalType": "struct IMulticall3.Result[]", + "components": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "aggregate3Value", + "inputs": [ + { + "name": "calls", + "type": "tuple[]", + "internalType": "struct IMulticall3.Call3Value[]", + "components": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "allowFailure", + "type": "bool", + "internalType": "bool" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ + { + "name": "returnData", + "type": "tuple[]", + "internalType": "struct IMulticall3.Result[]", + "components": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "blockAndAggregate", + "inputs": [ + { + "name": "calls", + "type": "tuple[]", + "internalType": "struct IMulticall3.Call[]", + "components": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "blockHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "returnData", + "type": "tuple[]", + "internalType": "struct IMulticall3.Result[]", + "components": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getBasefee", + "inputs": [], + "outputs": [ + { + "name": "basefee", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBlockHash", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "blockHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBlockNumber", + "inputs": [], + "outputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getChainId", + "inputs": [], + "outputs": [ + { + "name": "chainid", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getCurrentBlockCoinbase", + "inputs": [], + "outputs": [ + { + "name": "coinbase", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getCurrentBlockDifficulty", + "inputs": [], + "outputs": [ + { + "name": "difficulty", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getCurrentBlockGasLimit", + "inputs": [], + "outputs": [ + { + "name": "gaslimit", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getCurrentBlockTimestamp", + "inputs": [], + "outputs": [ + { + "name": "timestamp", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getEthBalance", + "inputs": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "balance", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getLastBlockHash", + "inputs": [], + "outputs": [ + { + "name": "blockHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "tryAggregate", + "inputs": [ + { + "name": "requireSuccess", + "type": "bool", + "internalType": "bool" + }, + { + "name": "calls", + "type": "tuple[]", + "internalType": "struct IMulticall3.Call[]", + "components": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ + { + "name": "returnData", + "type": "tuple[]", + "internalType": "struct IMulticall3.Result[]", + "components": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "tryBlockAndAggregate", + "inputs": [ + { + "name": "requireSuccess", + "type": "bool", + "internalType": "bool" + }, + { + "name": "calls", + "type": "tuple[]", + "internalType": "struct IMulticall3.Call[]", + "components": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "blockHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "returnData", + "type": "tuple[]", + "internalType": "struct IMulticall3.Result[]", + "components": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "payable" + } +] diff --git a/abis/IProxyCreationCallback_abi.json b/abis/IProxyCreationCallback_abi.json new file mode 100644 index 0000000..d51b4ef --- /dev/null +++ b/abis/IProxyCreationCallback_abi.json @@ -0,0 +1,30 @@ +[ + { + "type": "function", + "name": "proxyCreated", + "inputs": [ + { + "name": "proxy", + "type": "address", + "internalType": "contract GnosisSafeProxy" + }, + { + "name": "_singleton", + "type": "address", + "internalType": "address" + }, + { + "name": "initializer", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "saltNonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/IProxy_abi.json b/abis/IProxy_abi.json new file mode 100644 index 0000000..660552d --- /dev/null +++ b/abis/IProxy_abi.json @@ -0,0 +1,15 @@ +[ + { + "type": "function", + "name": "masterCopy", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IPurchaseTracker_abi.json b/abis/IPurchaseTracker_abi.json new file mode 100644 index 0000000..7e0961a --- /dev/null +++ b/abis/IPurchaseTracker_abi.json @@ -0,0 +1,106 @@ +[ + { + "type": "function", + "name": "getPurchaseAmount", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPurchaseCount", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getSalesAmount", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getSalesCount", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "recordPurchase", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "seller", + "type": "address", + "internalType": "address" + }, + { + "name": "buyer", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/IRelayRecipient_abi.json b/abis/IRelayRecipient_abi.json new file mode 100644 index 0000000..4ba52da --- /dev/null +++ b/abis/IRelayRecipient_abi.json @@ -0,0 +1,34 @@ +[ + { + "type": "function", + "name": "isTrustedForwarder", + "inputs": [ + { + "name": "forwarder", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "versionRecipient", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/ISecurityContext_abi.json b/abis/ISecurityContext_abi.json new file mode 100644 index 0000000..8d98c73 --- /dev/null +++ b/abis/ISecurityContext_abi.json @@ -0,0 +1,26 @@ +[ + { + "type": "function", + "name": "hasRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + } +] diff --git a/abis/ISignatureValidatorConstants_abi.json b/abis/ISignatureValidatorConstants_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/ISignatureValidatorConstants_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/ISignatureValidator_abi.json b/abis/ISignatureValidator_abi.json new file mode 100644 index 0000000..42c81c4 --- /dev/null +++ b/abis/ISignatureValidator_abi.json @@ -0,0 +1,26 @@ +[ + { + "type": "function", + "name": "isValidSignature", + "inputs": [ + { + "name": "_data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "_signature", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/ISystemSettings_abi.json b/abis/ISystemSettings_abi.json new file mode 100644 index 0000000..fa53bb3 --- /dev/null +++ b/abis/ISystemSettings_abi.json @@ -0,0 +1,28 @@ +[ + { + "type": "function", + "name": "feeBps", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vaultAddress", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/IVotes_abi.json b/abis/IVotes_abi.json new file mode 100644 index 0000000..bb9ad69 --- /dev/null +++ b/abis/IVotes_abi.json @@ -0,0 +1,184 @@ +[ + { + "type": "function", + "name": "delegate", + "inputs": [ + { + "name": "delegatee", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "delegateBySig", + "inputs": [ + { + "name": "delegatee", + "type": "address", + "internalType": "address" + }, + { + "name": "nonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "expiry", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "delegates", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPastTotalSupply", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPastVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getVotes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "DelegateChanged", + "inputs": [ + { + "name": "delegator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "fromDelegate", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "toDelegate", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "DelegateVotesChanged", + "inputs": [ + { + "name": "delegate", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "previousBalance", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newBalance", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/Initializable_abi.json b/abis/Initializable_abi.json new file mode 100644 index 0000000..ccf42b8 --- /dev/null +++ b/abis/Initializable_abi.json @@ -0,0 +1,15 @@ +[ + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + } +] diff --git a/abis/LibString_abi.json b/abis/LibString_abi.json new file mode 100644 index 0000000..83fae88 --- /dev/null +++ b/abis/LibString_abi.json @@ -0,0 +1,7 @@ +[ + { + "type": "error", + "name": "HexLengthInsufficient", + "inputs": [] + } +] diff --git a/abis/MathUpgradeable_abi.json b/abis/MathUpgradeable_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/MathUpgradeable_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/Math_abi.json b/abis/Math_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/Math_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/MockERC20_abi.json b/abis/MockERC20_abi.json new file mode 100644 index 0000000..3f87326 --- /dev/null +++ b/abis/MockERC20_abi.json @@ -0,0 +1,322 @@ +[ + { + "type": "function", + "name": "DOMAIN_SEPARATOR", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "allowance", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialize", + "inputs": [ + { + "name": "name_", + "type": "string", + "internalType": "string" + }, + { + "name": "symbol_", + "type": "string", + "internalType": "string" + }, + { + "name": "decimals_", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "nonces", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "permit", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "deadline", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transfer", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/MockERC721_abi.json b/abis/MockERC721_abi.json new file mode 100644 index 0000000..92f0ee5 --- /dev/null +++ b/abis/MockERC721_abi.json @@ -0,0 +1,350 @@ +[ + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getApproved", + "inputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialize", + "inputs": [ + { + "name": "name_", + "type": "string", + "internalType": "string" + }, + { + "name": "symbol_", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "isApprovedForAll", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "operator", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "ownerOf", + "inputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safeTransferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "safeTransferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "setApprovalForAll", + "inputs": [ + { + "name": "operator", + "type": "address", + "internalType": "address" + }, + { + "name": "approved", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "tokenURI", + "inputs": [ + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "_owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_approved", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ApprovalForAll", + "inputs": [ + { + "name": "_owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_approved", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "_from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "_tokenId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/ModuleManager_abi.json b/abis/ModuleManager_abi.json new file mode 100644 index 0000000..bc5e0fc --- /dev/null +++ b/abis/ModuleManager_abi.json @@ -0,0 +1,206 @@ +[ + { + "type": "function", + "name": "disableModule", + "inputs": [ + { + "name": "prevModule", + "type": "address", + "internalType": "address" + }, + { + "name": "module", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "enableModule", + "inputs": [ + { + "name": "module", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execTransactionFromModule", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execTransactionFromModuleReturnData", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "operation", + "type": "uint8", + "internalType": "enum Enum.Operation" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getModulesPaginated", + "inputs": [ + { + "name": "start", + "type": "address", + "internalType": "address" + }, + { + "name": "pageSize", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "array", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "next", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isModuleEnabled", + "inputs": [ + { + "name": "module", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "DisabledModule", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "EnabledModule", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ExecutionFromModuleFailure", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ExecutionFromModuleSuccess", + "inputs": [ + { + "name": "module", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/ModuleProxyFactory_abi.json b/abis/ModuleProxyFactory_abi.json new file mode 100644 index 0000000..24a06dd --- /dev/null +++ b/abis/ModuleProxyFactory_abi.json @@ -0,0 +1,88 @@ +[ + { + "type": "function", + "name": "deployModule", + "inputs": [ + { + "name": "masterCopy", + "type": "address", + "internalType": "address" + }, + { + "name": "initializer", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "saltNonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "proxy", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "ModuleProxyCreation", + "inputs": [ + { + "name": "proxy", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "masterCopy", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "FailedInitialization", + "inputs": [] + }, + { + "type": "error", + "name": "TakenAddress", + "inputs": [ + { + "name": "address_", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "TargetHasNoCode", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ZeroAddress", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + } + ] + } +] diff --git a/abis/Module_abi.json b/abis/Module_abi.json new file mode 100644 index 0000000..1226aa6 --- /dev/null +++ b/abis/Module_abi.json @@ -0,0 +1,233 @@ +[ + { + "type": "function", + "name": "avatar", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getGuard", + "inputs": [], + "outputs": [ + { + "name": "_guard", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "guard", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setAvatar", + "inputs": [ + { + "name": "_avatar", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setGuard", + "inputs": [ + { + "name": "_guard", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setTarget", + "inputs": [ + { + "name": "_target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setUp", + "inputs": [ + { + "name": "initializeParams", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "target", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "AvatarSet", + "inputs": [ + { + "name": "previousAvatar", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newAvatar", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ChangedGuard", + "inputs": [ + { + "name": "guard", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TargetSet", + "inputs": [ + { + "name": "previousTarget", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newTarget", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "NotIERC165Compliant", + "inputs": [ + { + "name": "guard_", + "type": "address", + "internalType": "address" + } + ] + } +] diff --git a/abis/Multicallable_abi.json b/abis/Multicallable_abi.json new file mode 100644 index 0000000..6642cda --- /dev/null +++ b/abis/Multicallable_abi.json @@ -0,0 +1,21 @@ +[ + { + "type": "function", + "name": "multicall", + "inputs": [ + { + "name": "data", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "payable" + } +] diff --git a/abis/OwnableUpgradeable_abi.json b/abis/OwnableUpgradeable_abi.json new file mode 100644 index 0000000..2e42ca0 --- /dev/null +++ b/abis/OwnableUpgradeable_abi.json @@ -0,0 +1,67 @@ +[ + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/OwnerManager_abi.json b/abis/OwnerManager_abi.json new file mode 100644 index 0000000..7dce495 --- /dev/null +++ b/abis/OwnerManager_abi.json @@ -0,0 +1,163 @@ +[ + { + "type": "function", + "name": "addOwnerWithThreshold", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_threshold", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "changeThreshold", + "inputs": [ + { + "name": "_threshold", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getOwners", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getThreshold", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "removeOwner", + "inputs": [ + { + "name": "prevOwner", + "type": "address", + "internalType": "address" + }, + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_threshold", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "swapOwner", + "inputs": [ + { + "name": "prevOwner", + "type": "address", + "internalType": "address" + }, + { + "name": "oldOwner", + "type": "address", + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "AddedOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ChangedThreshold", + "inputs": [ + { + "name": "threshold", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RemovedOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/PaymentEscrowAdmins_abi.json b/abis/PaymentEscrowAdmins_abi.json new file mode 100644 index 0000000..9795201 --- /dev/null +++ b/abis/PaymentEscrowAdmins_abi.json @@ -0,0 +1,117 @@ +[ + { + "type": "function", + "name": "PermissionRefund", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "PermissionRelease", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "appointedAdmins", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "grantAdminPermission", + "inputs": [ + { + "name": "admin", + "type": "address", + "internalType": "address" + }, + { + "name": "permission", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "hasAdminPermission", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "admin", + "type": "address", + "internalType": "address" + }, + { + "name": "permission", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "revokeAdminPermission", + "inputs": [ + { + "name": "admin", + "type": "address", + "internalType": "address" + }, + { + "name": "permission", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/PaymentEscrow_abi.json b/abis/PaymentEscrow_abi.json new file mode 100644 index 0000000..ca493b1 --- /dev/null +++ b/abis/PaymentEscrow_abi.json @@ -0,0 +1,665 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + }, + { + "name": "settings_", + "type": "address", + "internalType": "contract ISystemSettings" + }, + { + "name": "autoRelease", + "type": "bool", + "internalType": "bool" + }, + { + "name": "_purchaseTracker", + "type": "address", + "internalType": "contract IPurchaseTracker" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "PermissionRefund", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "PermissionRelease", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "appointedAdmins", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "autoReleaseFlag", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPayment", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "internalType": "struct Payment", + "components": [ + { + "name": "id", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "payer", + "type": "address", + "internalType": "address" + }, + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "amountRefunded", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "payerReleased", + "type": "bool", + "internalType": "bool" + }, + { + "name": "receiverReleased", + "type": "bool", + "internalType": "bool" + }, + { + "name": "released", + "type": "bool", + "internalType": "bool" + }, + { + "name": "currency", + "type": "address", + "internalType": "address" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "grantAdminPermission", + "inputs": [ + { + "name": "admin", + "type": "address", + "internalType": "address" + }, + { + "name": "permission", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "hasAdminPermission", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "admin", + "type": "address", + "internalType": "address" + }, + { + "name": "permission", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "pause", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "paused", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "payments", + "inputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "id", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "payer", + "type": "address", + "internalType": "address" + }, + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "amountRefunded", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "payerReleased", + "type": "bool", + "internalType": "bool" + }, + { + "name": "receiverReleased", + "type": "bool", + "internalType": "bool" + }, + { + "name": "released", + "type": "bool", + "internalType": "bool" + }, + { + "name": "currency", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "placePayment", + "inputs": [ + { + "name": "paymentInput", + "type": "tuple", + "internalType": "struct PaymentInput", + "components": [ + { + "name": "currency", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "payer", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "purchaseTracker", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IPurchaseTracker" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "refundPayment", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "releaseEscrow", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revokeAdminPermission", + "inputs": [ + { + "name": "admin", + "type": "address", + "internalType": "address" + }, + { + "name": "permission", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "securityContext", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setAutoReleaseFlag", + "inputs": [ + { + "name": "value", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setSecurityContext", + "inputs": [ + { + "name": "_securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "settings", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ISystemSettings" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "unpause", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "EscrowReleased", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "fee", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "PaymentReceived", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "from", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "currency", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "PaymentRefunded", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "PaymentTransferFailed", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "currency", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "PaymentTransferred", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "currency", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ReleaseAssentGiven", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "assentingAddress", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "assentType", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SecurityContextSet", + "inputs": [ + { + "name": "caller", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "securityContext", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "PRBMath__MulDivOverflow", + "inputs": [ + { + "name": "x", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "y", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "denominator", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "UnauthorizedAccess", + "inputs": [ + { + "name": "roleId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "addr", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ZeroAddressArgument", + "inputs": [] + } +] diff --git a/abis/Proxy_abi.json b/abis/Proxy_abi.json new file mode 100644 index 0000000..c8642ce --- /dev/null +++ b/abis/Proxy_abi.json @@ -0,0 +1,10 @@ +[ + { + "type": "fallback", + "stateMutability": "payable" + }, + { + "type": "receive", + "stateMutability": "payable" + } +] diff --git a/abis/PurchaseTracker_abi.json b/abis/PurchaseTracker_abi.json new file mode 100644 index 0000000..e1c9b55 --- /dev/null +++ b/abis/PurchaseTracker_abi.json @@ -0,0 +1,381 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + }, + { + "name": "_lootToken", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "authorizeEscrow", + "inputs": [ + { + "name": "escrow", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "authorizedEscrows", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "deauthorizeEscrow", + "inputs": [ + { + "name": "escrow", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getPurchaseAmount", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPurchaseCount", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getSalesAmount", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getSalesCount", + "inputs": [ + { + "name": "recipient", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lootToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IERC20" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "purchases", + "inputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "seller", + "type": "address", + "internalType": "address" + }, + { + "name": "buyer", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "recorded", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "recordPurchase", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "seller", + "type": "address", + "internalType": "address" + }, + { + "name": "buyer", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "securityContext", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setSecurityContext", + "inputs": [ + { + "name": "_securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "totalPurchaseAmount", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalPurchaseCount", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSalesAmount", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSalesCount", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "PurchaseRecorded", + "inputs": [ + { + "name": "paymentId", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "buyer", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SecurityContextSet", + "inputs": [ + { + "name": "caller", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "securityContext", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "UnauthorizedAccess", + "inputs": [ + { + "name": "roleId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "addr", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ZeroAddressArgument", + "inputs": [] + } +] diff --git a/abis/RagequitTest_abi.json b/abis/RagequitTest_abi.json new file mode 100644 index 0000000..3a1ba0f --- /dev/null +++ b/abis/RagequitTest_abi.json @@ -0,0 +1,878 @@ +[ + { + "type": "function", + "name": "IS_TEST", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "admin", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "adminHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "autoRelease", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "baal", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "communityVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "escrow", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeArtifacts", + "inputs": [], + "outputs": [ + { + "name": "excludedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeContracts", + "inputs": [], + "outputs": [ + { + "name": "excludedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSelectors", + "inputs": [], + "outputs": [ + { + "name": "excludedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSenders", + "inputs": [], + "outputs": [ + { + "name": "excludedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "failed", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "governor", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hatsCtx", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialFeeBps", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lootToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "purchaseTracker", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safe", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "script", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract DeployHamzaVault" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setUp", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "systemSettings", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifactSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifactSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzArtifactSelector[]", + "components": [ + { + "name": "artifact", + "type": "string", + "internalType": "string" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifacts", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetContracts", + "inputs": [], + "outputs": [ + { + "name": "targetedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetInterfaces", + "inputs": [], + "outputs": [ + { + "name": "targetedInterfaces_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzInterface[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "artifacts", + "type": "string[]", + "internalType": "string[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSenders", + "inputs": [], + "outputs": [ + { + "name": "targetedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "testRagequitWithCommunityVaultExclusion", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testRagequitWithEth", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testRagequitWithMajorityVaultOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testRagequitWithSharesAndLoot", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "timeLockDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "user", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "userLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vaultLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vestingPeriodFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "log", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_address", + "inputs": [ + { + "name": "", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes32", + "inputs": [ + { + "name": "", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_int", + "inputs": [ + { + "name": "", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_address", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes32", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_string", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_string", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_uint", + "inputs": [ + { + "name": "", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "logs", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/ReentrancyGuardUpgradeable_abi.json b/abis/ReentrancyGuardUpgradeable_abi.json new file mode 100644 index 0000000..ccf42b8 --- /dev/null +++ b/abis/ReentrancyGuardUpgradeable_abi.json @@ -0,0 +1,15 @@ +[ + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + } +] diff --git a/abis/Roles_abi.json b/abis/Roles_abi.json new file mode 100644 index 0000000..2f63290 --- /dev/null +++ b/abis/Roles_abi.json @@ -0,0 +1,93 @@ +[ + { + "type": "function", + "name": "ADMIN_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "ARBITER_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "BURNER_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "DAO_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "MINTER_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "PAUSER_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "SYSTEM_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/SafeCast_abi.json b/abis/SafeCast_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/SafeCast_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/SafeERC20_abi.json b/abis/SafeERC20_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/SafeERC20_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/SafeTransactionHelper_abi.json b/abis/SafeTransactionHelper_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/SafeTransactionHelper_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/ScriptBase_abi.json b/abis/ScriptBase_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/ScriptBase_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/Script_abi.json b/abis/Script_abi.json new file mode 100644 index 0000000..7d40db2 --- /dev/null +++ b/abis/Script_abi.json @@ -0,0 +1,15 @@ +[ + { + "type": "function", + "name": "IS_SCRIPT", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/SecuredTokenTransfer_abi.json b/abis/SecuredTokenTransfer_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/SecuredTokenTransfer_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/SelfAuthorized_abi.json b/abis/SelfAuthorized_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/SelfAuthorized_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/SignatureDecoder_abi.json b/abis/SignatureDecoder_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/SignatureDecoder_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/Singleton_abi.json b/abis/Singleton_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/Singleton_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/StdAssertions_abi.json b/abis/StdAssertions_abi.json new file mode 100644 index 0000000..1ac45e1 --- /dev/null +++ b/abis/StdAssertions_abi.json @@ -0,0 +1,379 @@ +[ + { + "type": "function", + "name": "failed", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "log", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_address", + "inputs": [ + { + "name": "", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes32", + "inputs": [ + { + "name": "", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_int", + "inputs": [ + { + "name": "", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_address", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes32", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_string", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_string", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_uint", + "inputs": [ + { + "name": "", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "logs", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/StdChains_abi.json b/abis/StdChains_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/StdChains_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/StdCheatsSafe_abi.json b/abis/StdCheatsSafe_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/StdCheatsSafe_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/StdCheats_abi.json b/abis/StdCheats_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/StdCheats_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/StdInvariant_abi.json b/abis/StdInvariant_abi.json new file mode 100644 index 0000000..b75b924 --- /dev/null +++ b/abis/StdInvariant_abi.json @@ -0,0 +1,180 @@ +[ + { + "type": "function", + "name": "excludeArtifacts", + "inputs": [], + "outputs": [ + { + "name": "excludedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeContracts", + "inputs": [], + "outputs": [ + { + "name": "excludedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSelectors", + "inputs": [], + "outputs": [ + { + "name": "excludedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSenders", + "inputs": [], + "outputs": [ + { + "name": "excludedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifactSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifactSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzArtifactSelector[]", + "components": [ + { + "name": "artifact", + "type": "string", + "internalType": "string" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifacts", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetContracts", + "inputs": [], + "outputs": [ + { + "name": "targetedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetInterfaces", + "inputs": [], + "outputs": [ + { + "name": "targetedInterfaces_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzInterface[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "artifacts", + "type": "string[]", + "internalType": "string[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSenders", + "inputs": [], + "outputs": [ + { + "name": "targetedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/StdStyle_abi.json b/abis/StdStyle_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/StdStyle_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/StdUtils_abi.json b/abis/StdUtils_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/StdUtils_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/StorageAccessible_abi.json b/abis/StorageAccessible_abi.json new file mode 100644 index 0000000..0e2876e --- /dev/null +++ b/abis/StorageAccessible_abi.json @@ -0,0 +1,44 @@ +[ + { + "type": "function", + "name": "getStorageAt", + "inputs": [ + { + "name": "offset", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "length", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "simulateAndRevert", + "inputs": [ + { + "name": "targetContract", + "type": "address", + "internalType": "address" + }, + { + "name": "calldataPayload", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/StorageSlotUpgradeable_abi.json b/abis/StorageSlotUpgradeable_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/StorageSlotUpgradeable_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/StorageSlot_abi.json b/abis/StorageSlot_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/StorageSlot_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/StringsUpgradeable_abi.json b/abis/StringsUpgradeable_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/StringsUpgradeable_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/Strings_abi.json b/abis/Strings_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/Strings_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/SystemSettings_abi.json b/abis/SystemSettings_abi.json new file mode 100644 index 0000000..bd82a65 --- /dev/null +++ b/abis/SystemSettings_abi.json @@ -0,0 +1,179 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + }, + { + "name": "vaultAddress_", + "type": "address", + "internalType": "address" + }, + { + "name": "feeBps_", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "feeBps", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "securityContext", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setFeeBps", + "inputs": [ + { + "name": "feeBps_", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setSecurityContext", + "inputs": [ + { + "name": "_securityContext", + "type": "address", + "internalType": "contract ISecurityContext" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setVaultAddress", + "inputs": [ + { + "name": "vaultAddress_", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "vaultAddress", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "FeeBpsChanged", + "inputs": [ + { + "name": "newValue", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "changedBy", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SecurityContextSet", + "inputs": [ + { + "name": "caller", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "securityContext", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "VaultAddressChanged", + "inputs": [ + { + "name": "newAddress", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "changedBy", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "UnauthorizedAccess", + "inputs": [ + { + "name": "roleId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "addr", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ZeroAddressArgument", + "inputs": [] + } +] diff --git a/abis/TestBase_abi.json b/abis/TestBase_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/TestBase_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/TestCommunityVault_abi.json b/abis/TestCommunityVault_abi.json new file mode 100644 index 0000000..22d2fbb --- /dev/null +++ b/abis/TestCommunityVault_abi.json @@ -0,0 +1,1132 @@ +[ + { + "type": "function", + "name": "IS_TEST", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "admin", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "adminHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "autoRelease", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "baal", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "communityVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "escrow", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeArtifacts", + "inputs": [], + "outputs": [ + { + "name": "excludedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeContracts", + "inputs": [], + "outputs": [ + { + "name": "excludedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSelectors", + "inputs": [], + "outputs": [ + { + "name": "excludedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSenders", + "inputs": [], + "outputs": [ + { + "name": "excludedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "failed", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "governor", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hatsCtx", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialFeeBps", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lootToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "purchaseTracker", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safe", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "script", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract DeployHamzaVault" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setUp", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "systemSettings", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifactSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifactSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzArtifactSelector[]", + "components": [ + { + "name": "artifact", + "type": "string", + "internalType": "string" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifacts", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetContracts", + "inputs": [], + "outputs": [ + { + "name": "targetedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetInterfaces", + "inputs": [], + "outputs": [ + { + "name": "targetedInterfaces_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzInterface[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "artifacts", + "type": "string[]", + "internalType": "string[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSenders", + "inputs": [], + "outputs": [ + { + "name": "targetedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "testDepositEmitsEvent", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDepositIncorrectAmount", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDepositOverLimit", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDepositTransfersEth", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDepositTransfersTokens", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDistributeEmitsEvent", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDistributeInsufficientBalance", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDistributeMismatchedArraysError", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDistributeRestricted", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDistributeRewards", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDistributeRewardsForBuyer", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDistributeRewardsForSeller", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testGetCorrectBalance", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testSetCommunityRewardsCalculator", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testSetCommunityRewardsCalculatorRestricted", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testSetGovernanceVault", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testSetGovernanceVaultAddressZero", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testSetGovernanceVaultRestricted", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testSetPurchaseTracker", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testSetPurchaseTrackerAddressZero", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testSetPurchaseTrackerRestricted", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testWithdrawEmitsEvent", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testWithdrawInsufficientBalanceError", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testWithdrawOverLimit", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testWithdrawRestricted", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testWithdrawTransfersTokens", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "timeLockDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "user", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "userLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vaultLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vestingPeriodFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "Deposit", + "inputs": [ + { + "name": "token", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Distribute", + "inputs": [ + { + "name": "token", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "SlotFound", + "inputs": [ + { + "name": "who", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "fsig", + "type": "bytes4", + "indexed": false, + "internalType": "bytes4" + }, + { + "name": "keysHash", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + }, + { + "name": "slot", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "WARNING_UninitedSlot", + "inputs": [ + { + "name": "who", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "slot", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_address", + "inputs": [ + { + "name": "", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes32", + "inputs": [ + { + "name": "", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_int", + "inputs": [ + { + "name": "", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_address", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes32", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_string", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_string", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_uint", + "inputs": [ + { + "name": "", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "logs", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/TestPaymentAndTracker_abi.json b/abis/TestPaymentAndTracker_abi.json new file mode 100644 index 0000000..7066110 --- /dev/null +++ b/abis/TestPaymentAndTracker_abi.json @@ -0,0 +1,949 @@ +[ + { + "type": "function", + "name": "IS_TEST", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "admin", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "adminHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "autoRelease", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "baal", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "communityVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "escrow", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeArtifacts", + "inputs": [], + "outputs": [ + { + "name": "excludedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeContracts", + "inputs": [], + "outputs": [ + { + "name": "excludedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSelectors", + "inputs": [], + "outputs": [ + { + "name": "excludedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSenders", + "inputs": [], + "outputs": [ + { + "name": "excludedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "failed", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "governor", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hatsCtx", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialFeeBps", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lootToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "purchaseTracker", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safe", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "script", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract DeployHamzaVault" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setUp", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "systemSettings", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifactSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifactSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzArtifactSelector[]", + "components": [ + { + "name": "artifact", + "type": "string", + "internalType": "string" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifacts", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetContracts", + "inputs": [], + "outputs": [ + { + "name": "targetedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetInterfaces", + "inputs": [], + "outputs": [ + { + "name": "targetedInterfaces_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzInterface[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "artifacts", + "type": "string[]", + "internalType": "string[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSenders", + "inputs": [], + "outputs": [ + { + "name": "targetedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "testFullReleaseRecordsPurchase", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testFullReleaseRecordsPurchaseMultipleEscrows", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testFullReleaseRecordsPurchaseMultiplePayments", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testPartialRefundThenRelease", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testTestAbilityToAuthorizeEscrow", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testTestAbilityToDeauthorizeEscrow", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testUnauthorizedEscrow", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "timeLockDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "user", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "userLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vaultLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vestingPeriodFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "SlotFound", + "inputs": [ + { + "name": "who", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "fsig", + "type": "bytes4", + "indexed": false, + "internalType": "bytes4" + }, + { + "name": "keysHash", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + }, + { + "name": "slot", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "WARNING_UninitedSlot", + "inputs": [ + { + "name": "who", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "slot", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_address", + "inputs": [ + { + "name": "", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes32", + "inputs": [ + { + "name": "", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_int", + "inputs": [ + { + "name": "", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_address", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes32", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_string", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_string", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_uint", + "inputs": [ + { + "name": "", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "logs", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/TestToken_abi.json b/abis/TestToken_abi.json new file mode 100644 index 0000000..4796754 --- /dev/null +++ b/abis/TestToken_abi.json @@ -0,0 +1,313 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "name_", + "type": "string", + "internalType": "string" + }, + { + "name": "symbol_", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "allowance", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "approve", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decimals", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint8", + "internalType": "uint8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "decreaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "subtractedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "increaseAllowance", + "inputs": [ + { + "name": "spender", + "type": "address", + "internalType": "address" + }, + { + "name": "addedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mint", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "test", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transfer", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "Approval", + "inputs": [ + { + "name": "owner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "spender", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Transfer", + "inputs": [ + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/Test_abi.json b/abis/Test_abi.json new file mode 100644 index 0000000..00eede4 --- /dev/null +++ b/abis/Test_abi.json @@ -0,0 +1,570 @@ +[ + { + "type": "function", + "name": "IS_TEST", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeArtifacts", + "inputs": [], + "outputs": [ + { + "name": "excludedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeContracts", + "inputs": [], + "outputs": [ + { + "name": "excludedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSelectors", + "inputs": [], + "outputs": [ + { + "name": "excludedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSenders", + "inputs": [], + "outputs": [ + { + "name": "excludedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "failed", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifactSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifactSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzArtifactSelector[]", + "components": [ + { + "name": "artifact", + "type": "string", + "internalType": "string" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifacts", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetContracts", + "inputs": [], + "outputs": [ + { + "name": "targetedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetInterfaces", + "inputs": [], + "outputs": [ + { + "name": "targetedInterfaces_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzInterface[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "artifacts", + "type": "string[]", + "internalType": "string[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSenders", + "inputs": [], + "outputs": [ + { + "name": "targetedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "log", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_address", + "inputs": [ + { + "name": "", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes32", + "inputs": [ + { + "name": "", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_int", + "inputs": [ + { + "name": "", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_address", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes32", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_string", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_string", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_uint", + "inputs": [ + { + "name": "", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "logs", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/TimelockController_abi.json b/abis/TimelockController_abi.json new file mode 100644 index 0000000..1c43e95 --- /dev/null +++ b/abis/TimelockController_abi.json @@ -0,0 +1,872 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "minDelay", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "proposers", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "executors", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "admin", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "receive", + "stateMutability": "payable" + }, + { + "type": "function", + "name": "CANCELLER_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "DEFAULT_ADMIN_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "EXECUTOR_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "PROPOSER_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "TIMELOCK_ADMIN_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "cancel", + "inputs": [ + { + "name": "id", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "payload", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "predecessor", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "executeBatch", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "payloads", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "predecessor", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getMinDelay", + "inputs": [], + "outputs": [ + { + "name": "duration", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getRoleAdmin", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTimestamp", + "inputs": [ + { + "name": "id", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "timestamp", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "grantRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "hasRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hashOperation", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "predecessor", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "hash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "hashOperationBatch", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "payloads", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "predecessor", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "hash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "isOperation", + "inputs": [ + { + "name": "id", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "registered", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isOperationDone", + "inputs": [ + { + "name": "id", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "done", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isOperationPending", + "inputs": [ + { + "name": "id", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "pending", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isOperationReady", + "inputs": [ + { + "name": "id", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "ready", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "onERC1155BatchReceived", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC1155Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "onERC721Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "renounceRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revokeRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "schedule", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "predecessor", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "delay", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "scheduleBatch", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "payloads", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "predecessor", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "delay", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "updateDelay", + "inputs": [ + { + "name": "newDelay", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "CallExecuted", + "inputs": [ + { + "name": "id", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "index", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "target", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "CallScheduled", + "inputs": [ + { + "name": "id", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "index", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "target", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + }, + { + "name": "predecessor", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + }, + { + "name": "delay", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Cancelled", + "inputs": [ + { + "name": "id", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "MinDelayChange", + "inputs": [ + { + "name": "oldDuration", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newDuration", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleAdminChanged", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "previousAdminRole", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "newAdminRole", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleGranted", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleRevoked", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/Timers_abi.json b/abis/Timers_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/Timers_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/ToggleModule_abi.json b/abis/ToggleModule_abi.json new file mode 100644 index 0000000..f547f7c --- /dev/null +++ b/abis/ToggleModule_abi.json @@ -0,0 +1,114 @@ +[ + { + "type": "constructor", + "inputs": [ + { + "name": "_admin", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "admin", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getHatStatus", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "status", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hatActive", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setHatStatus", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_active", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferAdmin", + "inputs": [ + { + "name": "newAdmin", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "HatToggled", + "inputs": [ + { + "name": "hatId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "newStatus", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + } +] diff --git a/abis/UUPSUpgradeable_abi.json b/abis/UUPSUpgradeable_abi.json new file mode 100644 index 0000000..f498525 --- /dev/null +++ b/abis/UUPSUpgradeable_abi.json @@ -0,0 +1,104 @@ +[ + { + "type": "function", + "name": "proxiableUUID", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "upgradeTo", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeToAndCall", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ + { + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Upgraded", + "inputs": [ + { + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } +] diff --git a/abis/VmSafe_abi.json b/abis/VmSafe_abi.json new file mode 100644 index 0000000..10d0f3a --- /dev/null +++ b/abis/VmSafe_abi.json @@ -0,0 +1,8530 @@ +[ + { + "type": "function", + "name": "accesses", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "readSlots", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "writeSlots", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "addr", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "keyAddr", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbs", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbs", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbs", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbs", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbsDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbsDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbsDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbsDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRel", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRel", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRel", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRel", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRelDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRelDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRelDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRelDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "right", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "right", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "address", + "internalType": "address" + }, + { + "name": "right", + "type": "address", + "internalType": "address" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "string", + "internalType": "string" + }, + { + "name": "right", + "type": "string", + "internalType": "string" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "right", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "right", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bool", + "internalType": "bool" + }, + { + "name": "right", + "type": "bool", + "internalType": "bool" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "address", + "internalType": "address" + }, + { + "name": "right", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "right", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "right", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "right", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "right", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "right", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "right", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "right", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "right", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "right", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "right", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "right", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "right", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "right", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "string", + "internalType": "string" + }, + { + "name": "right", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "right", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bool", + "internalType": "bool" + }, + { + "name": "right", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEqDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEqDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEqDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEqDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertFalse", + "inputs": [ + { + "name": "condition", + "type": "bool", + "internalType": "bool" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertFalse", + "inputs": [ + { + "name": "condition", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGe", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGe", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGe", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGe", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGeDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGeDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGeDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGeDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGt", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGt", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGt", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGt", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGtDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGtDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGtDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGtDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLe", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLe", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLe", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLe", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLeDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLeDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLeDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLeDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLt", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLt", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLt", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLt", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLtDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLtDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLtDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLtDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "right", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "right", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bool", + "internalType": "bool" + }, + { + "name": "right", + "type": "bool", + "internalType": "bool" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "right", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bool", + "internalType": "bool" + }, + { + "name": "right", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "right", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "right", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "right", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "right", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "right", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "string", + "internalType": "string" + }, + { + "name": "right", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "right", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "string", + "internalType": "string" + }, + { + "name": "right", + "type": "string", + "internalType": "string" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "address", + "internalType": "address" + }, + { + "name": "right", + "type": "address", + "internalType": "address" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "right", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "right", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "right", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "address", + "internalType": "address" + }, + { + "name": "right", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "right", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "right", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "right", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "right", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "right", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "right", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEqDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEqDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEqDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEqDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertTrue", + "inputs": [ + { + "name": "condition", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertTrue", + "inputs": [ + { + "name": "condition", + "type": "bool", + "internalType": "bool" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assume", + "inputs": [ + { + "name": "condition", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assumeNoRevert", + "inputs": [], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "attachDelegation", + "inputs": [ + { + "name": "signedDelegation", + "type": "tuple", + "internalType": "struct VmSafe.SignedDelegation", + "components": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "implementation", + "type": "address", + "internalType": "address" + } + ] + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "breakpoint", + "inputs": [ + { + "name": "char", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "breakpoint", + "inputs": [ + { + "name": "char", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "broadcast", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "broadcast", + "inputs": [ + { + "name": "signer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "broadcast", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "broadcastRawTransaction", + "inputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "closeFile", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "computeCreate2Address", + "inputs": [ + { + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "initCodeHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "computeCreate2Address", + "inputs": [ + { + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "initCodeHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "deployer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "computeCreateAddress", + "inputs": [ + { + "name": "deployer", + "type": "address", + "internalType": "address" + }, + { + "name": "nonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "contains", + "inputs": [ + { + "name": "subject", + "type": "string", + "internalType": "string" + }, + { + "name": "search", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "copyFile", + "inputs": [ + { + "name": "from", + "type": "string", + "internalType": "string" + }, + { + "name": "to", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "copied", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "copyStorage", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "recursive", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createWallet", + "inputs": [ + { + "name": "walletLabel", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createWallet", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createWallet", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "walletLabel", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deployCode", + "inputs": [ + { + "name": "artifactPath", + "type": "string", + "internalType": "string" + }, + { + "name": "constructorArgs", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "deployedAddress", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deployCode", + "inputs": [ + { + "name": "artifactPath", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "deployedAddress", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deriveKey", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "derivationPath", + "type": "string", + "internalType": "string" + }, + { + "name": "index", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "language", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "deriveKey", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "index", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "language", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "deriveKey", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "index", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "deriveKey", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "derivationPath", + "type": "string", + "internalType": "string" + }, + { + "name": "index", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "ensNamehash", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "envAddress", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envAddress", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBool", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBool", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBytes", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBytes", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBytes32", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBytes32", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envExists", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envInt", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envInt", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "value", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "value", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [ + { + "name": "value", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envString", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envString", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envUint", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envUint", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "eth_getLogs", + "inputs": [ + { + "name": "fromBlock", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "toBlock", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "topics", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "outputs": [ + { + "name": "logs", + "type": "tuple[]", + "internalType": "struct VmSafe.EthGetLogs[]", + "components": [ + { + "name": "emitter", + "type": "address", + "internalType": "address" + }, + { + "name": "topics", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "blockHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "blockNumber", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "transactionHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "transactionIndex", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "logIndex", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "removed", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "exists", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "ffi", + "inputs": [ + { + "name": "commandInput", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [ + { + "name": "result", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "fsMetadata", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "metadata", + "type": "tuple", + "internalType": "struct VmSafe.FsMetadata", + "components": [ + { + "name": "isDir", + "type": "bool", + "internalType": "bool" + }, + { + "name": "isSymlink", + "type": "bool", + "internalType": "bool" + }, + { + "name": "length", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "readOnly", + "type": "bool", + "internalType": "bool" + }, + { + "name": "modified", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "accessed", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "created", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getArtifactPathByCode", + "inputs": [ + { + "name": "code", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getArtifactPathByDeployedCode", + "inputs": [ + { + "name": "deployedCode", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBlobBaseFee", + "inputs": [], + "outputs": [ + { + "name": "blobBaseFee", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBlockNumber", + "inputs": [], + "outputs": [ + { + "name": "height", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBlockTimestamp", + "inputs": [], + "outputs": [ + { + "name": "timestamp", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBroadcast", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "txType", + "type": "uint8", + "internalType": "enum VmSafe.BroadcastTxType" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "internalType": "struct VmSafe.BroadcastTxSummary", + "components": [ + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "txType", + "type": "uint8", + "internalType": "enum VmSafe.BroadcastTxType" + }, + { + "name": "contractAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBroadcasts", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple[]", + "internalType": "struct VmSafe.BroadcastTxSummary[]", + "components": [ + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "txType", + "type": "uint8", + "internalType": "enum VmSafe.BroadcastTxType" + }, + { + "name": "contractAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBroadcasts", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "txType", + "type": "uint8", + "internalType": "enum VmSafe.BroadcastTxType" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple[]", + "internalType": "struct VmSafe.BroadcastTxSummary[]", + "components": [ + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "txType", + "type": "uint8", + "internalType": "enum VmSafe.BroadcastTxType" + }, + { + "name": "contractAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getCode", + "inputs": [ + { + "name": "artifactPath", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "creationBytecode", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getDeployedCode", + "inputs": [ + { + "name": "artifactPath", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "runtimeBytecode", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getDeployment", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [ + { + "name": "deployedAddress", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getDeployment", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "deployedAddress", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getDeployments", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [ + { + "name": "deployedAddresses", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getFoundryVersion", + "inputs": [], + "outputs": [ + { + "name": "version", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getLabel", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "currentLabel", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getMappingKeyAndParentOf", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "elementSlot", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "found", + "type": "bool", + "internalType": "bool" + }, + { + "name": "key", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "parent", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getMappingLength", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "mappingSlot", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "length", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getMappingSlotAt", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "mappingSlot", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "idx", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getNonce", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getNonce", + "inputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "outputs": [ + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getRecordedLogs", + "inputs": [], + "outputs": [ + { + "name": "logs", + "type": "tuple[]", + "internalType": "struct VmSafe.Log[]", + "components": [ + { + "name": "topics", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "emitter", + "type": "address", + "internalType": "address" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getStateDiff", + "inputs": [], + "outputs": [ + { + "name": "diff", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getStateDiffJson", + "inputs": [], + "outputs": [ + { + "name": "diff", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getWallets", + "inputs": [], + "outputs": [ + { + "name": "wallets", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "indexOf", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "isContext", + "inputs": [ + { + "name": "context", + "type": "uint8", + "internalType": "enum VmSafe.ForgeContext" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isFile", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "keyExists", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "keyExistsJson", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "keyExistsToml", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "label", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "newLabel", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "lastCallGas", + "inputs": [], + "outputs": [ + { + "name": "gas", + "type": "tuple", + "internalType": "struct VmSafe.Gas", + "components": [ + { + "name": "gasLimit", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "gasTotalUsed", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "gasMemoryUsed", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "gasRefunded", + "type": "int64", + "internalType": "int64" + }, + { + "name": "gasRemaining", + "type": "uint64", + "internalType": "uint64" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "load", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "slot", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "data", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "parseAddress", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseBool", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseBytes", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseBytes32", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseInt", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJson", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "abiEncodedData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJson", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "abiEncodedData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonAddress", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonAddressArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBool", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBoolArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBytes", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBytes32", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBytes32Array", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBytesArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonInt", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonIntArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonKeys", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "keys", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonString", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonStringArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonType", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonType", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonTypeArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonUint", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonUintArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseToml", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "abiEncodedData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseToml", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "abiEncodedData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlAddress", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlAddressArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBool", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBoolArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBytes", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBytes32", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBytes32Array", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBytesArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlInt", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlIntArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlKeys", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "keys", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlString", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlStringArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlType", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlType", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlTypeArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlUint", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlUintArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseUint", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "pauseGasMetering", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "pauseTracing", + "inputs": [], + "outputs": [], + "stateMutability": "view" + }, + { + "type": "function", + "name": "projectRoot", + "inputs": [], + "outputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "prompt", + "inputs": [ + { + "name": "promptText", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "promptAddress", + "inputs": [ + { + "name": "promptText", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "promptSecret", + "inputs": [ + { + "name": "promptText", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "promptSecretUint", + "inputs": [ + { + "name": "promptText", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "promptUint", + "inputs": [ + { + "name": "promptText", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "publicKeyP256", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "randomAddress", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "randomBool", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomBytes", + "inputs": [ + { + "name": "len", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomBytes4", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomBytes8", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes8", + "internalType": "bytes8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomInt", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomInt", + "inputs": [ + { + "name": "bits", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomUint", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "randomUint", + "inputs": [ + { + "name": "bits", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomUint", + "inputs": [ + { + "name": "min", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "max", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "readDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "maxDepth", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [ + { + "name": "entries", + "type": "tuple[]", + "internalType": "struct VmSafe.DirEntry[]", + "components": [ + { + "name": "errorMessage", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "depth", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "isDir", + "type": "bool", + "internalType": "bool" + }, + { + "name": "isSymlink", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "maxDepth", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "followLinks", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "entries", + "type": "tuple[]", + "internalType": "struct VmSafe.DirEntry[]", + "components": [ + { + "name": "errorMessage", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "depth", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "isDir", + "type": "bool", + "internalType": "bool" + }, + { + "name": "isSymlink", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "entries", + "type": "tuple[]", + "internalType": "struct VmSafe.DirEntry[]", + "components": [ + { + "name": "errorMessage", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "depth", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "isDir", + "type": "bool", + "internalType": "bool" + }, + { + "name": "isSymlink", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readFile", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "data", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readFileBinary", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readLine", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "line", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readLink", + "inputs": [ + { + "name": "linkPath", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "targetPath", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "record", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "recordLogs", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rememberKey", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "keyAddr", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rememberKeys", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "derivationPath", + "type": "string", + "internalType": "string" + }, + { + "name": "count", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "keyAddrs", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rememberKeys", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "derivationPath", + "type": "string", + "internalType": "string" + }, + { + "name": "language", + "type": "string", + "internalType": "string" + }, + { + "name": "count", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "keyAddrs", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "removeDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "recursive", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "removeFile", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "replace", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + }, + { + "name": "from", + "type": "string", + "internalType": "string" + }, + { + "name": "to", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "output", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "resetGasMetering", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "resumeGasMetering", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "resumeTracing", + "inputs": [], + "outputs": [], + "stateMutability": "view" + }, + { + "type": "function", + "name": "rpc", + "inputs": [ + { + "name": "urlOrAlias", + "type": "string", + "internalType": "string" + }, + { + "name": "method", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rpc", + "inputs": [ + { + "name": "method", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rpcUrl", + "inputs": [ + { + "name": "rpcAlias", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "rpcUrlStructs", + "inputs": [], + "outputs": [ + { + "name": "urls", + "type": "tuple[]", + "internalType": "struct VmSafe.Rpc[]", + "components": [ + { + "name": "key", + "type": "string", + "internalType": "string" + }, + { + "name": "url", + "type": "string", + "internalType": "string" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "rpcUrls", + "inputs": [], + "outputs": [ + { + "name": "urls", + "type": "string[2][]", + "internalType": "string[2][]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "serializeAddress", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeAddress", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBool", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBool", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBytes", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBytes", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBytes32", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBytes32", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeInt", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeInt", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeJson", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeJsonType", + "inputs": [ + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "serializeJsonType", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeString", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeString", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeUint", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeUint", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeUintToHex", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setArbitraryStorage", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setEnv", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sign", + "inputs": [ + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "sign", + "inputs": [ + { + "name": "signer", + "type": "address", + "internalType": "address" + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "sign", + "inputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sign", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "signAndAttachDelegation", + "inputs": [ + { + "name": "implementation", + "type": "address", + "internalType": "address" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "signedDelegation", + "type": "tuple", + "internalType": "struct VmSafe.SignedDelegation", + "components": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "implementation", + "type": "address", + "internalType": "address" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "signCompact", + "inputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "vs", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "signCompact", + "inputs": [ + { + "name": "signer", + "type": "address", + "internalType": "address" + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "vs", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "signCompact", + "inputs": [ + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "vs", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "signCompact", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "vs", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "signDelegation", + "inputs": [ + { + "name": "implementation", + "type": "address", + "internalType": "address" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "signedDelegation", + "type": "tuple", + "internalType": "struct VmSafe.SignedDelegation", + "components": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "implementation", + "type": "address", + "internalType": "address" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "signP256", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "sleep", + "inputs": [ + { + "name": "duration", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "split", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + }, + { + "name": "delimiter", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "outputs", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "startBroadcast", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startBroadcast", + "inputs": [ + { + "name": "signer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startBroadcast", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startDebugTraceRecording", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startMappingRecording", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startStateDiffRecording", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopAndReturnDebugTraceRecording", + "inputs": [], + "outputs": [ + { + "name": "step", + "type": "tuple[]", + "internalType": "struct VmSafe.DebugStep[]", + "components": [ + { + "name": "stack", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "memoryInput", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "opcode", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "depth", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "isOutOfGas", + "type": "bool", + "internalType": "bool" + }, + { + "name": "contractAddr", + "type": "address", + "internalType": "address" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopAndReturnStateDiff", + "inputs": [], + "outputs": [ + { + "name": "accountAccesses", + "type": "tuple[]", + "internalType": "struct VmSafe.AccountAccess[]", + "components": [ + { + "name": "chainInfo", + "type": "tuple", + "internalType": "struct VmSafe.ChainInfo", + "components": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "chainId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "name": "kind", + "type": "uint8", + "internalType": "enum VmSafe.AccountAccessKind" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "accessor", + "type": "address", + "internalType": "address" + }, + { + "name": "initialized", + "type": "bool", + "internalType": "bool" + }, + { + "name": "oldBalance", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "newBalance", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "deployedCode", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "reverted", + "type": "bool", + "internalType": "bool" + }, + { + "name": "storageAccesses", + "type": "tuple[]", + "internalType": "struct VmSafe.StorageAccess[]", + "components": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "slot", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "isWrite", + "type": "bool", + "internalType": "bool" + }, + { + "name": "previousValue", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "newValue", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "reverted", + "type": "bool", + "internalType": "bool" + } + ] + }, + { + "name": "depth", + "type": "uint64", + "internalType": "uint64" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopBroadcast", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopMappingRecording", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "toBase64", + "inputs": [ + { + "name": "data", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toBase64", + "inputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toBase64URL", + "inputs": [ + { + "name": "data", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toBase64URL", + "inputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toLowercase", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "output", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toUppercase", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "output", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "trim", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "output", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "tryFfi", + "inputs": [ + { + "name": "commandInput", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [ + { + "name": "result", + "type": "tuple", + "internalType": "struct VmSafe.FfiResult", + "components": [ + { + "name": "exitCode", + "type": "int32", + "internalType": "int32" + }, + { + "name": "stdout", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "stderr", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unixTime", + "inputs": [], + "outputs": [ + { + "name": "milliseconds", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "writeFile", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "data", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeFileBinary", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeJson", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeJson", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeLine", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "data", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeToml", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeToml", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/Vm_abi.json b/abis/Vm_abi.json new file mode 100644 index 0000000..1a4bddf --- /dev/null +++ b/abis/Vm_abi.json @@ -0,0 +1,10806 @@ +[ + { + "type": "function", + "name": "accesses", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "readSlots", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "writeSlots", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "activeFork", + "inputs": [], + "outputs": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "addr", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "keyAddr", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "allowCheatcodes", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "assertApproxEqAbs", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbs", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbs", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbs", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbsDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbsDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbsDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqAbsDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRel", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRel", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRel", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRel", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRelDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRelDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRelDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertApproxEqRelDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "maxPercentDelta", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "right", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "right", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "address", + "internalType": "address" + }, + { + "name": "right", + "type": "address", + "internalType": "address" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "string", + "internalType": "string" + }, + { + "name": "right", + "type": "string", + "internalType": "string" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "right", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "right", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bool", + "internalType": "bool" + }, + { + "name": "right", + "type": "bool", + "internalType": "bool" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "address", + "internalType": "address" + }, + { + "name": "right", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "right", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "right", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "right", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "right", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "right", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "right", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "right", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "right", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "right", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "right", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "right", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "right", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "right", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "string", + "internalType": "string" + }, + { + "name": "right", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "right", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "bool", + "internalType": "bool" + }, + { + "name": "right", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEq", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEqDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEqDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEqDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertEqDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertFalse", + "inputs": [ + { + "name": "condition", + "type": "bool", + "internalType": "bool" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertFalse", + "inputs": [ + { + "name": "condition", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGe", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGe", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGe", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGe", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGeDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGeDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGeDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGeDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGt", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGt", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGt", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGt", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGtDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGtDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGtDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertGtDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLe", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLe", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLe", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLe", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLeDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLeDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLeDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLeDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLt", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLt", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLt", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLt", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLtDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLtDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLtDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertLtDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "right", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "right", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bool", + "internalType": "bool" + }, + { + "name": "right", + "type": "bool", + "internalType": "bool" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "right", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bool", + "internalType": "bool" + }, + { + "name": "right", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "right", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "right", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "right", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "right", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "right", + "type": "bool[]", + "internalType": "bool[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "string", + "internalType": "string" + }, + { + "name": "right", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "right", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "string", + "internalType": "string" + }, + { + "name": "right", + "type": "string", + "internalType": "string" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "address", + "internalType": "address" + }, + { + "name": "right", + "type": "address", + "internalType": "address" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "right", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "right", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "right", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "address", + "internalType": "address" + }, + { + "name": "right", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "right", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "right", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "right", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "right", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "right", + "type": "int256[]", + "internalType": "int256[]" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "right", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEq", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEqDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEqDecimal", + "inputs": [ + { + "name": "left", + "type": "int256", + "internalType": "int256" + }, + { + "name": "right", + "type": "int256", + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEqDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertNotEqDecimal", + "inputs": [ + { + "name": "left", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "right", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertTrue", + "inputs": [ + { + "name": "condition", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assertTrue", + "inputs": [ + { + "name": "condition", + "type": "bool", + "internalType": "bool" + }, + { + "name": "error", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assume", + "inputs": [ + { + "name": "condition", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "assumeNoRevert", + "inputs": [], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "attachDelegation", + "inputs": [ + { + "name": "signedDelegation", + "type": "tuple", + "internalType": "struct VmSafe.SignedDelegation", + "components": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "implementation", + "type": "address", + "internalType": "address" + } + ] + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "blobBaseFee", + "inputs": [ + { + "name": "newBlobBaseFee", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "blobhashes", + "inputs": [ + { + "name": "hashes", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "breakpoint", + "inputs": [ + { + "name": "char", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "breakpoint", + "inputs": [ + { + "name": "char", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "broadcast", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "broadcast", + "inputs": [ + { + "name": "signer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "broadcast", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "broadcastRawTransaction", + "inputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "chainId", + "inputs": [ + { + "name": "newChainId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "clearMockedCalls", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "cloneAccount", + "inputs": [ + { + "name": "source", + "type": "address", + "internalType": "address" + }, + { + "name": "target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "closeFile", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "coinbase", + "inputs": [ + { + "name": "newCoinbase", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "computeCreate2Address", + "inputs": [ + { + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "initCodeHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "computeCreate2Address", + "inputs": [ + { + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "initCodeHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "deployer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "computeCreateAddress", + "inputs": [ + { + "name": "deployer", + "type": "address", + "internalType": "address" + }, + { + "name": "nonce", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "contains", + "inputs": [ + { + "name": "subject", + "type": "string", + "internalType": "string" + }, + { + "name": "search", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "copyFile", + "inputs": [ + { + "name": "from", + "type": "string", + "internalType": "string" + }, + { + "name": "to", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "copied", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "copyStorage", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "recursive", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createFork", + "inputs": [ + { + "name": "urlOrAlias", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createFork", + "inputs": [ + { + "name": "urlOrAlias", + "type": "string", + "internalType": "string" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createFork", + "inputs": [ + { + "name": "urlOrAlias", + "type": "string", + "internalType": "string" + }, + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createSelectFork", + "inputs": [ + { + "name": "urlOrAlias", + "type": "string", + "internalType": "string" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createSelectFork", + "inputs": [ + { + "name": "urlOrAlias", + "type": "string", + "internalType": "string" + }, + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createSelectFork", + "inputs": [ + { + "name": "urlOrAlias", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createWallet", + "inputs": [ + { + "name": "walletLabel", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createWallet", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "createWallet", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "walletLabel", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deal", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "newBalance", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deleteSnapshot", + "inputs": [ + { + "name": "snapshotId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deleteSnapshots", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deleteStateSnapshot", + "inputs": [ + { + "name": "snapshotId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deleteStateSnapshots", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deployCode", + "inputs": [ + { + "name": "artifactPath", + "type": "string", + "internalType": "string" + }, + { + "name": "constructorArgs", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "deployedAddress", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deployCode", + "inputs": [ + { + "name": "artifactPath", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "deployedAddress", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "deriveKey", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "derivationPath", + "type": "string", + "internalType": "string" + }, + { + "name": "index", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "language", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "deriveKey", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "index", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "language", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "deriveKey", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "index", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "deriveKey", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "derivationPath", + "type": "string", + "internalType": "string" + }, + { + "name": "index", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "difficulty", + "inputs": [ + { + "name": "newDifficulty", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "dumpState", + "inputs": [ + { + "name": "pathToStateJson", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "ensNamehash", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "envAddress", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envAddress", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBool", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBool", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBytes", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBytes", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBytes32", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envBytes32", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envExists", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envInt", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envInt", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "value", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "value", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [ + { + "name": "value", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envOr", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + }, + { + "name": "defaultValue", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "outputs": [ + { + "name": "value", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envString", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envString", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envUint", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "envUint", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "delim", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "value", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "etch", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "newRuntimeBytecode", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "eth_getLogs", + "inputs": [ + { + "name": "fromBlock", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "toBlock", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "topics", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "outputs": [ + { + "name": "logs", + "type": "tuple[]", + "internalType": "struct VmSafe.EthGetLogs[]", + "components": [ + { + "name": "emitter", + "type": "address", + "internalType": "address" + }, + { + "name": "topics", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "blockHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "blockNumber", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "transactionHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "transactionIndex", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "logIndex", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "removed", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "exists", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "expectCall", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gas", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectCall", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "gas", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectCall", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectCall", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectCall", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectCall", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectCallMinGas", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minGas", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectCallMinGas", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minGas", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmit", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmit", + "inputs": [ + { + "name": "checkTopic1", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic2", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic3", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkData", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmit", + "inputs": [ + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmit", + "inputs": [ + { + "name": "checkTopic1", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic2", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic3", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkData", + "type": "bool", + "internalType": "bool" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmit", + "inputs": [ + { + "name": "checkTopic1", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic2", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic3", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkData", + "type": "bool", + "internalType": "bool" + }, + { + "name": "emitter", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmit", + "inputs": [ + { + "name": "emitter", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmit", + "inputs": [ + { + "name": "emitter", + "type": "address", + "internalType": "address" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmit", + "inputs": [ + { + "name": "checkTopic1", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic2", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic3", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkData", + "type": "bool", + "internalType": "bool" + }, + { + "name": "emitter", + "type": "address", + "internalType": "address" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmitAnonymous", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmitAnonymous", + "inputs": [ + { + "name": "emitter", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmitAnonymous", + "inputs": [ + { + "name": "checkTopic0", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic1", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic2", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic3", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkData", + "type": "bool", + "internalType": "bool" + }, + { + "name": "emitter", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectEmitAnonymous", + "inputs": [ + { + "name": "checkTopic0", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic1", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic2", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkTopic3", + "type": "bool", + "internalType": "bool" + }, + { + "name": "checkData", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectPartialRevert", + "inputs": [ + { + "name": "revertData", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectPartialRevert", + "inputs": [ + { + "name": "revertData", + "type": "bytes4", + "internalType": "bytes4" + }, + { + "name": "reverter", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [ + { + "name": "reverter", + "type": "address", + "internalType": "address" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [ + { + "name": "revertData", + "type": "bytes4", + "internalType": "bytes4" + }, + { + "name": "reverter", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [ + { + "name": "revertData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [ + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [ + { + "name": "revertData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "reverter", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [ + { + "name": "revertData", + "type": "bytes4", + "internalType": "bytes4" + }, + { + "name": "reverter", + "type": "address", + "internalType": "address" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [ + { + "name": "revertData", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [ + { + "name": "revertData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "reverter", + "type": "address", + "internalType": "address" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [ + { + "name": "reverter", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [ + { + "name": "revertData", + "type": "bytes4", + "internalType": "bytes4" + }, + { + "name": "count", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [ + { + "name": "revertData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectRevert", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectSafeMemory", + "inputs": [ + { + "name": "min", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "max", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "expectSafeMemoryCall", + "inputs": [ + { + "name": "min", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "max", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "fee", + "inputs": [ + { + "name": "newBasefee", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "ffi", + "inputs": [ + { + "name": "commandInput", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [ + { + "name": "result", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "fsMetadata", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "metadata", + "type": "tuple", + "internalType": "struct VmSafe.FsMetadata", + "components": [ + { + "name": "isDir", + "type": "bool", + "internalType": "bool" + }, + { + "name": "isSymlink", + "type": "bool", + "internalType": "bool" + }, + { + "name": "length", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "readOnly", + "type": "bool", + "internalType": "bool" + }, + { + "name": "modified", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "accessed", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "created", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getArtifactPathByCode", + "inputs": [ + { + "name": "code", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getArtifactPathByDeployedCode", + "inputs": [ + { + "name": "deployedCode", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBlobBaseFee", + "inputs": [], + "outputs": [ + { + "name": "blobBaseFee", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBlobhashes", + "inputs": [], + "outputs": [ + { + "name": "hashes", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBlockNumber", + "inputs": [], + "outputs": [ + { + "name": "height", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBlockTimestamp", + "inputs": [], + "outputs": [ + { + "name": "timestamp", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBroadcast", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "txType", + "type": "uint8", + "internalType": "enum VmSafe.BroadcastTxType" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple", + "internalType": "struct VmSafe.BroadcastTxSummary", + "components": [ + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "txType", + "type": "uint8", + "internalType": "enum VmSafe.BroadcastTxType" + }, + { + "name": "contractAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBroadcasts", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple[]", + "internalType": "struct VmSafe.BroadcastTxSummary[]", + "components": [ + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "txType", + "type": "uint8", + "internalType": "enum VmSafe.BroadcastTxType" + }, + { + "name": "contractAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getBroadcasts", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "txType", + "type": "uint8", + "internalType": "enum VmSafe.BroadcastTxType" + } + ], + "outputs": [ + { + "name": "", + "type": "tuple[]", + "internalType": "struct VmSafe.BroadcastTxSummary[]", + "components": [ + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "txType", + "type": "uint8", + "internalType": "enum VmSafe.BroadcastTxType" + }, + { + "name": "contractAddress", + "type": "address", + "internalType": "address" + }, + { + "name": "blockNumber", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getCode", + "inputs": [ + { + "name": "artifactPath", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "creationBytecode", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getDeployedCode", + "inputs": [ + { + "name": "artifactPath", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "runtimeBytecode", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getDeployment", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [ + { + "name": "deployedAddress", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getDeployment", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "deployedAddress", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getDeployments", + "inputs": [ + { + "name": "contractName", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [ + { + "name": "deployedAddresses", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getFoundryVersion", + "inputs": [], + "outputs": [ + { + "name": "version", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getLabel", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "currentLabel", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getMappingKeyAndParentOf", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "elementSlot", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "found", + "type": "bool", + "internalType": "bool" + }, + { + "name": "key", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "parent", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getMappingLength", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "mappingSlot", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "length", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getMappingSlotAt", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "mappingSlot", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "idx", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "value", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getNonce", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getNonce", + "inputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + } + ], + "outputs": [ + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getRecordedLogs", + "inputs": [], + "outputs": [ + { + "name": "logs", + "type": "tuple[]", + "internalType": "struct VmSafe.Log[]", + "components": [ + { + "name": "topics", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "emitter", + "type": "address", + "internalType": "address" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getStateDiff", + "inputs": [], + "outputs": [ + { + "name": "diff", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getStateDiffJson", + "inputs": [], + "outputs": [ + { + "name": "diff", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getWallets", + "inputs": [], + "outputs": [ + { + "name": "wallets", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "indexOf", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "isContext", + "inputs": [ + { + "name": "context", + "type": "uint8", + "internalType": "enum VmSafe.ForgeContext" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isFile", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "result", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isPersistent", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "persistent", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "keyExists", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "keyExistsJson", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "keyExistsToml", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "label", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "newLabel", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "lastCallGas", + "inputs": [], + "outputs": [ + { + "name": "gas", + "type": "tuple", + "internalType": "struct VmSafe.Gas", + "components": [ + { + "name": "gasLimit", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "gasTotalUsed", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "gasMemoryUsed", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "gasRefunded", + "type": "int64", + "internalType": "int64" + }, + { + "name": "gasRemaining", + "type": "uint64", + "internalType": "uint64" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "load", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "slot", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "data", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "loadAllocs", + "inputs": [ + { + "name": "pathToAllocsJson", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "makePersistent", + "inputs": [ + { + "name": "accounts", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "makePersistent", + "inputs": [ + { + "name": "account0", + "type": "address", + "internalType": "address" + }, + { + "name": "account1", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "makePersistent", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "makePersistent", + "inputs": [ + { + "name": "account0", + "type": "address", + "internalType": "address" + }, + { + "name": "account1", + "type": "address", + "internalType": "address" + }, + { + "name": "account2", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mockCall", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes4", + "internalType": "bytes4" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mockCall", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mockCall", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mockCall", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes4", + "internalType": "bytes4" + }, + { + "name": "returnData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mockCallRevert", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes4", + "internalType": "bytes4" + }, + { + "name": "revertData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mockCallRevert", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes4", + "internalType": "bytes4" + }, + { + "name": "revertData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mockCallRevert", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "revertData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mockCallRevert", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "revertData", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mockCalls", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "msgValue", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "returnData", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mockCalls", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "returnData", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mockFunction", + "inputs": [ + { + "name": "callee", + "type": "address", + "internalType": "address" + }, + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "parseAddress", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseBool", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseBytes", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseBytes32", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseInt", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJson", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "abiEncodedData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJson", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "abiEncodedData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonAddress", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonAddressArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBool", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBoolArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBytes", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBytes32", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBytes32Array", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonBytesArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonInt", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonIntArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonKeys", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "keys", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonString", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonStringArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonType", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonType", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonTypeArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonUint", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseJsonUintArray", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseToml", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "abiEncodedData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseToml", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "abiEncodedData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlAddress", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlAddressArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBool", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBoolArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBytes", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBytes32", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBytes32Array", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlBytesArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlInt", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlIntArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlKeys", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "keys", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlString", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlStringArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlType", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlType", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlTypeArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlUint", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseTomlUintArray", + "inputs": [ + { + "name": "toml", + "type": "string", + "internalType": "string" + }, + { + "name": "key", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "parseUint", + "inputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "parsedValue", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "pauseGasMetering", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "pauseTracing", + "inputs": [], + "outputs": [], + "stateMutability": "view" + }, + { + "type": "function", + "name": "prank", + "inputs": [ + { + "name": "msgSender", + "type": "address", + "internalType": "address" + }, + { + "name": "txOrigin", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "prank", + "inputs": [ + { + "name": "msgSender", + "type": "address", + "internalType": "address" + }, + { + "name": "txOrigin", + "type": "address", + "internalType": "address" + }, + { + "name": "delegateCall", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "prank", + "inputs": [ + { + "name": "msgSender", + "type": "address", + "internalType": "address" + }, + { + "name": "delegateCall", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "prank", + "inputs": [ + { + "name": "msgSender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "prevrandao", + "inputs": [ + { + "name": "newPrevrandao", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "prevrandao", + "inputs": [ + { + "name": "newPrevrandao", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "projectRoot", + "inputs": [], + "outputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "prompt", + "inputs": [ + { + "name": "promptText", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "promptAddress", + "inputs": [ + { + "name": "promptText", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "promptSecret", + "inputs": [ + { + "name": "promptText", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "promptSecretUint", + "inputs": [ + { + "name": "promptText", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "promptUint", + "inputs": [ + { + "name": "promptText", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "publicKeyP256", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "randomAddress", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "randomBool", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomBytes", + "inputs": [ + { + "name": "len", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomBytes4", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomBytes8", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes8", + "internalType": "bytes8" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomInt", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomInt", + "inputs": [ + { + "name": "bits", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "int256", + "internalType": "int256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomUint", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "randomUint", + "inputs": [ + { + "name": "bits", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "randomUint", + "inputs": [ + { + "name": "min", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "max", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "readCallers", + "inputs": [], + "outputs": [ + { + "name": "callerMode", + "type": "uint8", + "internalType": "enum VmSafe.CallerMode" + }, + { + "name": "msgSender", + "type": "address", + "internalType": "address" + }, + { + "name": "txOrigin", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "readDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "maxDepth", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [ + { + "name": "entries", + "type": "tuple[]", + "internalType": "struct VmSafe.DirEntry[]", + "components": [ + { + "name": "errorMessage", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "depth", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "isDir", + "type": "bool", + "internalType": "bool" + }, + { + "name": "isSymlink", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "maxDepth", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "followLinks", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "entries", + "type": "tuple[]", + "internalType": "struct VmSafe.DirEntry[]", + "components": [ + { + "name": "errorMessage", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "depth", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "isDir", + "type": "bool", + "internalType": "bool" + }, + { + "name": "isSymlink", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "entries", + "type": "tuple[]", + "internalType": "struct VmSafe.DirEntry[]", + "components": [ + { + "name": "errorMessage", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "depth", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "isDir", + "type": "bool", + "internalType": "bool" + }, + { + "name": "isSymlink", + "type": "bool", + "internalType": "bool" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readFile", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "data", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readFileBinary", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readLine", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "line", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "readLink", + "inputs": [ + { + "name": "linkPath", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "targetPath", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "record", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "recordLogs", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rememberKey", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "keyAddr", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rememberKeys", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "derivationPath", + "type": "string", + "internalType": "string" + }, + { + "name": "count", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "keyAddrs", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rememberKeys", + "inputs": [ + { + "name": "mnemonic", + "type": "string", + "internalType": "string" + }, + { + "name": "derivationPath", + "type": "string", + "internalType": "string" + }, + { + "name": "language", + "type": "string", + "internalType": "string" + }, + { + "name": "count", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "keyAddrs", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "removeDir", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "recursive", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "removeFile", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "replace", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + }, + { + "name": "from", + "type": "string", + "internalType": "string" + }, + { + "name": "to", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "output", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "resetGasMetering", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "resetNonce", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "resumeGasMetering", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "resumeTracing", + "inputs": [], + "outputs": [], + "stateMutability": "view" + }, + { + "type": "function", + "name": "revertTo", + "inputs": [ + { + "name": "snapshotId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revertToAndDelete", + "inputs": [ + { + "name": "snapshotId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revertToState", + "inputs": [ + { + "name": "snapshotId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revertToStateAndDelete", + "inputs": [ + { + "name": "snapshotId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "success", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revokePersistent", + "inputs": [ + { + "name": "accounts", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revokePersistent", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "roll", + "inputs": [ + { + "name": "newHeight", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rollFork", + "inputs": [ + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rollFork", + "inputs": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rollFork", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rollFork", + "inputs": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rpc", + "inputs": [ + { + "name": "urlOrAlias", + "type": "string", + "internalType": "string" + }, + { + "name": "method", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rpc", + "inputs": [ + { + "name": "method", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rpcUrl", + "inputs": [ + { + "name": "rpcAlias", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "rpcUrlStructs", + "inputs": [], + "outputs": [ + { + "name": "urls", + "type": "tuple[]", + "internalType": "struct VmSafe.Rpc[]", + "components": [ + { + "name": "key", + "type": "string", + "internalType": "string" + }, + { + "name": "url", + "type": "string", + "internalType": "string" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "rpcUrls", + "inputs": [], + "outputs": [ + { + "name": "urls", + "type": "string[2][]", + "internalType": "string[2][]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "selectFork", + "inputs": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeAddress", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "address[]", + "internalType": "address[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeAddress", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBool", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "bool[]", + "internalType": "bool[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBool", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBytes", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "bytes[]", + "internalType": "bytes[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBytes", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBytes32", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeBytes32", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeInt", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeInt", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "int256[]", + "internalType": "int256[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeJson", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeJsonType", + "inputs": [ + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "serializeJsonType", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "typeDescription", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeString", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeString", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeUint", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeUint", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "serializeUintToHex", + "inputs": [ + { + "name": "objectKey", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setArbitraryStorage", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setBlockhash", + "inputs": [ + { + "name": "blockNumber", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "blockHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setEnv", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setNonce", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "newNonce", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setNonceUnsafe", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "newNonce", + "type": "uint64", + "internalType": "uint64" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sign", + "inputs": [ + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "sign", + "inputs": [ + { + "name": "signer", + "type": "address", + "internalType": "address" + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "sign", + "inputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sign", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "signAndAttachDelegation", + "inputs": [ + { + "name": "implementation", + "type": "address", + "internalType": "address" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "signedDelegation", + "type": "tuple", + "internalType": "struct VmSafe.SignedDelegation", + "components": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "implementation", + "type": "address", + "internalType": "address" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "signCompact", + "inputs": [ + { + "name": "wallet", + "type": "tuple", + "internalType": "struct VmSafe.Wallet", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "publicKeyX", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "publicKeyY", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "vs", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "signCompact", + "inputs": [ + { + "name": "signer", + "type": "address", + "internalType": "address" + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "vs", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "signCompact", + "inputs": [ + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "vs", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "signCompact", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "vs", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "signDelegation", + "inputs": [ + { + "name": "implementation", + "type": "address", + "internalType": "address" + }, + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "signedDelegation", + "type": "tuple", + "internalType": "struct VmSafe.SignedDelegation", + "components": [ + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "nonce", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "implementation", + "type": "address", + "internalType": "address" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "signP256", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "digest", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "skip", + "inputs": [ + { + "name": "skipTest", + "type": "bool", + "internalType": "bool" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "skip", + "inputs": [ + { + "name": "skipTest", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "sleep", + "inputs": [ + { + "name": "duration", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "snapshot", + "inputs": [], + "outputs": [ + { + "name": "snapshotId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "snapshotGasLastCall", + "inputs": [ + { + "name": "group", + "type": "string", + "internalType": "string" + }, + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "gasUsed", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "snapshotGasLastCall", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "gasUsed", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "snapshotState", + "inputs": [], + "outputs": [ + { + "name": "snapshotId", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "snapshotValue", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "snapshotValue", + "inputs": [ + { + "name": "group", + "type": "string", + "internalType": "string" + }, + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "split", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + }, + { + "name": "delimiter", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "outputs", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "startBroadcast", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startBroadcast", + "inputs": [ + { + "name": "signer", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startBroadcast", + "inputs": [ + { + "name": "privateKey", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startDebugTraceRecording", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startMappingRecording", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startPrank", + "inputs": [ + { + "name": "msgSender", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startPrank", + "inputs": [ + { + "name": "msgSender", + "type": "address", + "internalType": "address" + }, + { + "name": "delegateCall", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startPrank", + "inputs": [ + { + "name": "msgSender", + "type": "address", + "internalType": "address" + }, + { + "name": "txOrigin", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startPrank", + "inputs": [ + { + "name": "msgSender", + "type": "address", + "internalType": "address" + }, + { + "name": "txOrigin", + "type": "address", + "internalType": "address" + }, + { + "name": "delegateCall", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startSnapshotGas", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startSnapshotGas", + "inputs": [ + { + "name": "group", + "type": "string", + "internalType": "string" + }, + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startStateDiffRecording", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopAndReturnDebugTraceRecording", + "inputs": [], + "outputs": [ + { + "name": "step", + "type": "tuple[]", + "internalType": "struct VmSafe.DebugStep[]", + "components": [ + { + "name": "stack", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "memoryInput", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "opcode", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "depth", + "type": "uint64", + "internalType": "uint64" + }, + { + "name": "isOutOfGas", + "type": "bool", + "internalType": "bool" + }, + { + "name": "contractAddr", + "type": "address", + "internalType": "address" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopAndReturnStateDiff", + "inputs": [], + "outputs": [ + { + "name": "accountAccesses", + "type": "tuple[]", + "internalType": "struct VmSafe.AccountAccess[]", + "components": [ + { + "name": "chainInfo", + "type": "tuple", + "internalType": "struct VmSafe.ChainInfo", + "components": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "chainId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "name": "kind", + "type": "uint8", + "internalType": "enum VmSafe.AccountAccessKind" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "accessor", + "type": "address", + "internalType": "address" + }, + { + "name": "initialized", + "type": "bool", + "internalType": "bool" + }, + { + "name": "oldBalance", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "newBalance", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "deployedCode", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "reverted", + "type": "bool", + "internalType": "bool" + }, + { + "name": "storageAccesses", + "type": "tuple[]", + "internalType": "struct VmSafe.StorageAccess[]", + "components": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "slot", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "isWrite", + "type": "bool", + "internalType": "bool" + }, + { + "name": "previousValue", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "newValue", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "reverted", + "type": "bool", + "internalType": "bool" + } + ] + }, + { + "name": "depth", + "type": "uint64", + "internalType": "uint64" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopBroadcast", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopExpectSafeMemory", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopMappingRecording", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopPrank", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopSnapshotGas", + "inputs": [ + { + "name": "group", + "type": "string", + "internalType": "string" + }, + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "gasUsed", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopSnapshotGas", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "gasUsed", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "stopSnapshotGas", + "inputs": [], + "outputs": [ + { + "name": "gasUsed", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "store", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "slot", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "value", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "toBase64", + "inputs": [ + { + "name": "data", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toBase64", + "inputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toBase64URL", + "inputs": [ + { + "name": "data", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toBase64URL", + "inputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toLowercase", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "output", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "int256", + "internalType": "int256" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toString", + "inputs": [ + { + "name": "value", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "stringifiedValue", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "toUppercase", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "output", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "transact", + "inputs": [ + { + "name": "forkId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transact", + "inputs": [ + { + "name": "txHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "trim", + "inputs": [ + { + "name": "input", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "output", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "tryFfi", + "inputs": [ + { + "name": "commandInput", + "type": "string[]", + "internalType": "string[]" + } + ], + "outputs": [ + { + "name": "result", + "type": "tuple", + "internalType": "struct VmSafe.FfiResult", + "components": [ + { + "name": "exitCode", + "type": "int32", + "internalType": "int32" + }, + { + "name": "stdout", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "stderr", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "txGasPrice", + "inputs": [ + { + "name": "newGasPrice", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unixTime", + "inputs": [], + "outputs": [ + { + "name": "milliseconds", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "warp", + "inputs": [ + { + "name": "newTimestamp", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeFile", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "data", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeFileBinary", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeJson", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeJson", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeLine", + "inputs": [ + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "data", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeToml", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + }, + { + "name": "valueKey", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "writeToml", + "inputs": [ + { + "name": "json", + "type": "string", + "internalType": "string" + }, + { + "name": "path", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + } +] diff --git a/abis/VotingTest_abi.json b/abis/VotingTest_abi.json new file mode 100644 index 0000000..3760a6d --- /dev/null +++ b/abis/VotingTest_abi.json @@ -0,0 +1,948 @@ +[ + { + "type": "function", + "name": "IS_TEST", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "admin", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "adminHatId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "autoRelease", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "baal", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "communityVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "escrow", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeArtifacts", + "inputs": [], + "outputs": [ + { + "name": "excludedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeContracts", + "inputs": [], + "outputs": [ + { + "name": "excludedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSelectors", + "inputs": [], + "outputs": [ + { + "name": "excludedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "excludeSenders", + "inputs": [], + "outputs": [ + { + "name": "excludedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "failed", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "govVault", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "governor", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address payable" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "hatsCtx", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialFeeBps", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lootToken", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "purchaseTracker", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "safe", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "script", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract DeployHamzaVault" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "setUp", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "systemSettings", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifactSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifactSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzArtifactSelector[]", + "components": [ + { + "name": "artifact", + "type": "string", + "internalType": "string" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetArtifacts", + "inputs": [], + "outputs": [ + { + "name": "targetedArtifacts_", + "type": "string[]", + "internalType": "string[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetContracts", + "inputs": [], + "outputs": [ + { + "name": "targetedContracts_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetInterfaces", + "inputs": [], + "outputs": [ + { + "name": "targetedInterfaces_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzInterface[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "artifacts", + "type": "string[]", + "internalType": "string[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSelectors", + "inputs": [], + "outputs": [ + { + "name": "targetedSelectors_", + "type": "tuple[]", + "internalType": "struct StdInvariant.FuzzSelector[]", + "components": [ + { + "name": "addr", + "type": "address", + "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + } + ] + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "targetSenders", + "inputs": [], + "outputs": [ + { + "name": "targetedSenders_", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "testAbstainVotes", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testDoubleVotePrevention", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testNonUnanimousVoteDefeat", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testNonUnanimousVoteExecute", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testProposalCancellation", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testProposalVote", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testProposeVote", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testQuorumRequirement", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testTimelockEnforcement", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testUnanimousVoteDefeat", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testVote", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testVoteDelegation", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testVoteQueue", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "testVoteWithoutPower", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "timeLockDelay", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "user", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "userLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vaultLootAmountFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "vestingPeriodFromConfig", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "log", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_address", + "inputs": [ + { + "name": "", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_array", + "inputs": [ + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_bytes32", + "inputs": [ + { + "name": "", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_int", + "inputs": [ + { + "name": "", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_address", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256[]", + "indexed": false, + "internalType": "int256[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_array", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_bytes32", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_decimal_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "decimals", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_int", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "int256", + "indexed": false, + "internalType": "int256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_string", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_named_uint", + "inputs": [ + { + "name": "key", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "val", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_string", + "inputs": [ + { + "name": "", + "type": "string", + "indexed": false, + "internalType": "string" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "log_uint", + "inputs": [ + { + "name": "", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "logs", + "inputs": [ + { + "name": "", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + } + ], + "anonymous": false + } +] diff --git a/abis/console_abi.json b/abis/console_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/console_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/safeconsole_abi.json b/abis/safeconsole_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/safeconsole_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/stdError_abi.json b/abis/stdError_abi.json new file mode 100644 index 0000000..a72a6bd --- /dev/null +++ b/abis/stdError_abi.json @@ -0,0 +1,119 @@ +[ + { + "type": "function", + "name": "arithmeticError", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "assertionError", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "divisionError", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "encodeStorageError", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "enumConversionError", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "indexOOBError", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "memOverflowError", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "popError", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "zeroVarError", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" + } +] diff --git a/abis/stdJson_abi.json b/abis/stdJson_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/stdJson_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/stdMath_abi.json b/abis/stdMath_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/stdMath_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/stdStorageSafe_abi.json b/abis/stdStorageSafe_abi.json new file mode 100644 index 0000000..459d2cf --- /dev/null +++ b/abis/stdStorageSafe_abi.json @@ -0,0 +1,52 @@ +[ + { + "type": "event", + "name": "SlotFound", + "inputs": [ + { + "name": "who", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "fsig", + "type": "bytes4", + "indexed": false, + "internalType": "bytes4" + }, + { + "name": "keysHash", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + }, + { + "name": "slot", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "WARNING_UninitedSlot", + "inputs": [ + { + "name": "who", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "slot", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + } +] diff --git a/abis/stdStorage_abi.json b/abis/stdStorage_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/stdStorage_abi.json @@ -0,0 +1 @@ +[] diff --git a/abis/stdToml_abi.json b/abis/stdToml_abi.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/abis/stdToml_abi.json @@ -0,0 +1 @@ +[] diff --git a/test/RagequitTest.t.sol b/test/RagequitTest.t.sol index 6c0f54a..57fc772 100644 --- a/test/RagequitTest.t.sol +++ b/test/RagequitTest.t.sol @@ -6,12 +6,38 @@ import "./DeploymentSetup.t.sol"; import "../src/CustomBaal.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { console2 } from "forge-std/console2.sol"; +import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol"; /** * @dev RagequitTest contract to test the ragequit functionality of the Baal DAO */ contract RagequitTest is DeploymentSetup { + // For config-agnostic tests + CustomBaal public customBaalDirect; + address public mockCommunityVault; + address public mockLootToken; + address public mockSharesToken; + address public testUser1; + address public testUser2; + address public testUser3; + ERC20PresetMinterPauser public testToken1; + ERC20PresetMinterPauser public testToken2; + + // Override setup to initialize config-agnostic test variables + function setUp() public override { + super.setUp(); + + // Create test users + testUser1 = makeAddr("testUser1"); + testUser2 = makeAddr("testUser2"); + testUser3 = makeAddr("testUser3"); + + // Deploy test tokens for ragequit + testToken1 = new ERC20PresetMinterPauser("Test Token 1", "TT1"); + testToken2 = new ERC20PresetMinterPauser("Test Token 2", "TT2"); + } + // Test ragequit with ETH function testRagequitWithEth() public { // Get the Baal contract instance @@ -324,4 +350,317 @@ contract RagequitTest is DeploymentSetup { console2.log("Baal avatar new ETH balance:", newAvatarEthBalance); assertEq(newAvatarEthBalance, avatarEthBalance - expectedEthReturn, "Avatar ETH balance not reduced correctly"); } + + // Direct test of ragequit with multiple tokens + function testRagequitWithMultipleTokens() public { + CustomBaal baalContract = CustomBaal(baal); + + // Get user's initial loot balance + uint256 initialLootBalance = IERC20(lootToken).balanceOf(user); + uint256 lootToBurn = initialLootBalance / 3; // Burn a third of the loot + + // Setup test tokens in treasury + uint256 treasuryToken1Amount = 100 ether; + uint256 treasuryToken2Amount = 200 ether; + + // Mint tokens and send to avatar (treasury) + testToken1.mint(address(this), treasuryToken1Amount); + testToken2.mint(address(this), treasuryToken2Amount); + testToken1.transfer(baalContract.avatar(), treasuryToken1Amount); + testToken2.transfer(baalContract.avatar(), treasuryToken2Amount); + + // Send ETH to avatar + vm.deal(address(this), 5 ether); + (bool success, ) = payable(baalContract.avatar()).call{value: 5 ether}(""); + require(success, "ETH transfer failed"); + + // Get initial balances + uint256 initialTotalSupply = baalContract.totalSupply(); + uint256 vaultLootBalance = IERC20(lootToken).balanceOf(communityVault); + uint256 vaultSharesBalance = IERC20(address(baalContract.sharesToken())).balanceOf(communityVault); + + // Calculate adjusted total supply + uint256 adjustedTotalSupply = initialTotalSupply - vaultLootBalance - vaultSharesBalance; + + // Calculate expected returns for each token + uint256 expectedEthReturn = (lootToBurn * 5 ether) / adjustedTotalSupply; + uint256 expectedToken1Return = (lootToBurn * treasuryToken1Amount) / adjustedTotalSupply; + uint256 expectedToken2Return = (lootToBurn * treasuryToken2Amount) / adjustedTotalSupply; + + // Record initial balances + uint256 initialUserEthBalance = user.balance; + uint256 initialUserToken1Balance = testToken1.balanceOf(user); + uint256 initialUserToken2Balance = testToken2.balanceOf(user); + + // Sort token addresses in ascending order for ragequit + address ethAddress = address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE); + address token1Address = address(testToken1); + address token2Address = address(testToken2); + + // Create the tokens array with sorted addresses + address[] memory tokens = new address[](3); + + // Simple sorting based on address values + if (token1Address < token2Address && token1Address < ethAddress) { + tokens[0] = token1Address; + if (token2Address < ethAddress) { + tokens[1] = token2Address; + tokens[2] = ethAddress; + } else { + tokens[1] = ethAddress; + tokens[2] = token2Address; + } + } else if (token2Address < token1Address && token2Address < ethAddress) { + tokens[0] = token2Address; + if (token1Address < ethAddress) { + tokens[1] = token1Address; + tokens[2] = ethAddress; + } else { + tokens[1] = ethAddress; + tokens[2] = token1Address; + } + } else { + tokens[0] = ethAddress; + if (token1Address < token2Address) { + tokens[1] = token1Address; + tokens[2] = token2Address; + } else { + tokens[1] = token2Address; + tokens[2] = token1Address; + } + } + + // Execute ragequit + vm.startPrank(user); + baalContract.ragequit(user, 0, lootToBurn, tokens); + vm.stopPrank(); + + // Check loot was burned + assertEq(IERC20(lootToken).balanceOf(user), initialLootBalance - lootToBurn); + + // Check user received tokens and treasury balances were reduced + // We need to verify each token based on its position in the sorted array + for (uint i = 0; i < tokens.length; i++) { + if (tokens[i] == ethAddress) { + assertEq(user.balance, initialUserEthBalance + expectedEthReturn, "ETH balance incorrect"); + assertEq(address(baalContract.avatar()).balance, 5 ether - expectedEthReturn, "Avatar ETH balance incorrect"); + } else if (tokens[i] == token1Address) { + assertEq(testToken1.balanceOf(user), initialUserToken1Balance + expectedToken1Return, "Token1 balance incorrect"); + assertEq(testToken1.balanceOf(baalContract.avatar()), treasuryToken1Amount - expectedToken1Return, "Avatar Token1 balance incorrect"); + } else if (tokens[i] == token2Address) { + assertEq(testToken2.balanceOf(user), initialUserToken2Balance + expectedToken2Return, "Token2 balance incorrect"); + assertEq(testToken2.balanceOf(baalContract.avatar()), treasuryToken2Amount - expectedToken2Return, "Avatar Token2 balance incorrect"); + } + } + } + + // Test multiple users doing ragequit sequentially + function testSequentialRagequit() public { + CustomBaal baalContract = CustomBaal(baal); + + // Setup initial state - share loot among test users + vm.startPrank(user); + uint256 initialLootBalance = IERC20(lootToken).balanceOf(user); + + // Keep half, give 1/4 to each test user + uint256 transferAmount = initialLootBalance / 4; + IERC20(lootToken).transfer(testUser1, transferAmount); + IERC20(lootToken).transfer(testUser2, transferAmount); + vm.stopPrank(); + + // Send ETH to avatar + vm.deal(address(this), 12 ether); + (bool success, ) = payable(baalContract.avatar()).call{value: 12 ether}(""); + require(success, "ETH transfer failed"); + + // Get adjusted total supply + uint256 totalSupply = baalContract.totalSupply(); + uint256 vaultLootBalance = IERC20(lootToken).balanceOf(communityVault); + uint256 vaultSharesBalance = IERC20(address(baalContract.sharesToken())).balanceOf(communityVault); + uint256 adjustedTotalSupply = totalSupply - vaultLootBalance - vaultSharesBalance; + + // User 1 ragequits with all their loot + address[] memory tokens = new address[](1); + tokens[0] = address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE); // ETH + + uint256 user1InitialBalance = testUser1.balance; + uint256 avatarInitialBalance = address(baalContract.avatar()).balance; + uint256 expectedReturn1 = (transferAmount * avatarInitialBalance) / adjustedTotalSupply; + + vm.startPrank(testUser1); + baalContract.ragequit(testUser1, 0, transferAmount, tokens); + vm.stopPrank(); + + // Check user1 received ETH + assertEq(testUser1.balance, user1InitialBalance + expectedReturn1); + + // User 2 ragequits with all their loot + uint256 user2InitialBalance = testUser2.balance; + uint256 avatarUpdatedBalance = address(baalContract.avatar()).balance; + + // Recalculate adjusted total supply after user1's ragequit + adjustedTotalSupply -= transferAmount; + uint256 expectedReturn2 = (transferAmount * avatarUpdatedBalance) / adjustedTotalSupply; + + vm.startPrank(testUser2); + baalContract.ragequit(testUser2, 0, transferAmount, tokens); + vm.stopPrank(); + + // Check user2 received ETH + assertEq(testUser2.balance, user2InitialBalance + expectedReturn2); + + // Verify original user's loot remains intact + assertEq(IERC20(lootToken).balanceOf(user), initialLootBalance / 2); + + // Verify both test users have 0 loot + assertEq(IERC20(lootToken).balanceOf(testUser1), 0); + assertEq(IERC20(lootToken).balanceOf(testUser2), 0); + } + + // Test edge case: total supply equals vault balance + function testRagequitWithTotalSupplyEqualsVaultBalance() public { + CustomBaal baalContract = CustomBaal(baal); + + // Get user's current loot + uint256 userLootBalance = IERC20(lootToken).balanceOf(user); + + // Mint more loot to the community vault to make adjustedTotalSupply very small + vm.startPrank(baalContract.avatar()); + baalContract.mintLoot( + _singleAddressArray(communityVault), + _singleUint256Array(baalContract.totalSupply() * 100) // Make vault balance far exceed total supply + ); + vm.stopPrank(); + + // Send ETH to avatar + vm.deal(address(this), 5 ether); + (bool success, ) = payable(baalContract.avatar()).call{value: 5 ether}(""); + require(success, "ETH transfer failed"); + + // Calculate expected return + uint256 lootToBurn = userLootBalance / 2; + address[] memory tokens = new address[](1); + tokens[0] = address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE); // ETH + + uint256 initialUserEthBalance = user.balance; + uint256 avatarEthBalance = address(baalContract.avatar()).balance; + + vm.startPrank(user); + baalContract.ragequit(user, 0, lootToBurn, tokens); + vm.stopPrank(); + + // Even with extreme vault balance, user should still get proportional ETH + assertGt(user.balance, initialUserEthBalance, "User should have received some ETH"); + assertLt(address(baalContract.avatar()).balance, avatarEthBalance, "Avatar balance should have decreased"); + } + + // Test ragequit with zero community vault + function testRagequitWithZeroCommunityVault() public { + CustomBaal baalContract = CustomBaal(baal); + + // Get initial balances and information + uint256 initialUserLootBalance = IERC20(lootToken).balanceOf(user); + uint256 vaultLootBalance = IERC20(lootToken).balanceOf(communityVault); + console2.log("Initial community vault LOOT balance:", vaultLootBalance); + + vm.startPrank(baalContract.avatar()); + + // Burn all loot tokens from the community vault + baalContract.burnLoot( + _singleAddressArray(communityVault), + _singleUint256Array(vaultLootBalance) + ); + vm.stopPrank(); + + // Verify the community vault now has zero loot tokens + uint256 newVaultBalance = IERC20(lootToken).balanceOf(communityVault); + console2.log("Community vault LOOT balance after burning:", newVaultBalance); + assertEq(newVaultBalance, 0, "Vault should have 0 loot"); + + // Send ETH to the avatar for ragequit + vm.deal(address(this), 5 ether); + (bool success, ) = payable(baalContract.avatar()).call{value: 5 ether}(""); + require(success, "ETH transfer failed"); + + // Record initial balances before ragequit + uint256 initialTotalSupply = baalContract.totalSupply(); + uint256 initialUserEthBalance = user.balance; + uint256 avatarEthBalance = address(baalContract.avatar()).balance; + + // Calculate loot to burn (half of user's balance) + uint256 lootToBurn = initialUserLootBalance / 2; + + // Prepare token array for ragequit + address[] memory tokens = new address[](1); + tokens[0] = address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE); // ETH + + // Calculate expected return with zero vault balance + uint256 adjustedTotalSupply = initialTotalSupply; + uint256 expectedEthReturn = (lootToBurn * avatarEthBalance) / adjustedTotalSupply; + + // Execute ragequit with zero vault balance + vm.startPrank(user); + baalContract.ragequit(user, 0, lootToBurn, tokens); + vm.stopPrank(); + + // Verify user received the expected ETH amount + assertEq(user.balance, initialUserEthBalance + expectedEthReturn, "User didn't receive correct ETH amount"); + + // Verify user's loot was burned + assertEq(IERC20(lootToken).balanceOf(user), initialUserLootBalance - lootToBurn, "Incorrect loot balance after ragequit"); + + // Verify avatar ETH balance decreased correctly + assertEq(address(baalContract.avatar()).balance, avatarEthBalance - expectedEthReturn, "Avatar ETH balance didn't decrease correctly"); + } + + // Test ragequit with precise amounts and custom loot distribution + function testRagequitWithPreciseAmounts() public { + CustomBaal baalContract = CustomBaal(baal); + + // User wants to burn exactly 35% of their loot + uint256 initialLootBalance = IERC20(lootToken).balanceOf(user); + uint256 lootToBurn = (initialLootBalance * 35) / 100; // 35% + + // Send a precise amount of ETH to avatar + uint256 ethAmount = 7.77777 ether; + vm.deal(address(this), ethAmount); + (bool success, ) = payable(baalContract.avatar()).call{value: ethAmount}(""); + require(success, "ETH transfer failed"); + + // Calculate expected return + uint256 totalSupply = baalContract.totalSupply(); + uint256 vaultLootBalance = IERC20(lootToken).balanceOf(communityVault); + uint256 vaultSharesBalance = IERC20(address(baalContract.sharesToken())).balanceOf(communityVault); + uint256 adjustedTotalSupply = totalSupply - vaultLootBalance - vaultSharesBalance; + + uint256 expectedEthReturn = (lootToBurn * ethAmount) / adjustedTotalSupply; + + // Record initial balances + uint256 initialUserEthBalance = user.balance; + + // Ragequit with ETH + address[] memory tokens = new address[](1); + tokens[0] = address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE); + + vm.startPrank(user); + baalContract.ragequit(user, 0, lootToBurn, tokens); + vm.stopPrank(); + + // Verify results + assertEq(IERC20(lootToken).balanceOf(user), initialLootBalance - lootToBurn); + assertEq(user.balance, initialUserEthBalance + expectedEthReturn); + } + + // Helper functions + function _singleAddressArray(address _addr) private pure returns (address[] memory) { + address[] memory arr = new address[](1); + arr[0] = _addr; + return arr; + } + + function _singleUint256Array(uint256 _val) private pure returns (uint256[] memory) { + uint256[] memory arr = new uint256[](1); + arr[0] = _val; + return arr; + } } \ No newline at end of file From d26736320143185f1361f90b4608bf159a4e63e6 Mon Sep 17 00:00:00 2001 From: hudsonhrh Date: Wed, 12 Mar 2025 20:17:30 -0500 Subject: [PATCH 2/2] fix: removed abis folder --- abis/AccessControl_abi.json | 206 - abis/AddressUpgradeable_abi.json | 1 - abis/Address_abi.json | 1 - abis/BaalSummoner_abi.json | 574 - abis/Baal_abi.json | 1569 --- abis/Base64_abi.json | 1 - abis/BaseGuard_abi.json | 102 - abis/BaseRelayRecipient_abi.json | 47 - abis/CarefulMath_abi.json | 23 - abis/Checkpoints_abi.json | 1 - abis/CommonBase_abi.json | 1 - abis/CommunityRewardsCalculator_abi.json | 31 - abis/CommunityVault_abi.json | 423 - abis/ContextUpgradeable_abi.json | 15 - abis/Context_abi.json | 1 - abis/Counters_abi.json | 1 - abis/CustomBaalSummoner_abi.json | 574 - abis/CustomBaal_abi.json | 1582 --- abis/DeployCustomBaalSummoner_abi.json | 22 - abis/DeployHamzaVault_abi.json | 248 - abis/DeploymentSetup_abi.json | 850 -- abis/DoubleEndedQueue_abi.json | 12 - abis/ECDSAUpgradeable_abi.json | 1 - abis/ECDSA_abi.json | 1 - abis/EIP712Upgradeable_abi.json | 15 - abis/EIP712_abi.json | 1 - abis/ERC1155TokenReceiver_abi.json | 80 - abis/ERC1155_abi.json | 314 - abis/ERC165_abi.json | 21 - abis/ERC1967Proxy_abi.json | 71 - abis/ERC1967UpgradeUpgradeable_abi.json | 60 - abis/ERC1967Upgrade_abi.json | 47 - abis/ERC20Permit_abi.json | 347 - abis/ERC20Votes_abi.json | 584 - abis/ERC20Wrapper_abi.json | 333 - abis/ERC20_abi.json | 288 - abis/EligibilityModule_abi.json | 140 - abis/Enum_abi.json | 1 - abis/EscrowMulticall_abi.json | 56 - abis/EtherPaymentFallback_abi.json | 25 - abis/Executor_abi.json | 1 - abis/FactoryFriendly_abi.json | 80 - abis/FailingToken_abi.json | 262 - abis/FallbackManager_abi.json | 32 - abis/FullRound_abi.json | 864 -- abis/GnosisSafeMath_abi.json | 1 - abis/GnosisSafeProxyFactory_abi.json | 163 - abis/GnosisSafeProxy_abi.json | 17 - abis/GnosisSafe_abi.json | 1033 -- abis/GovernanceToken_abi.json | 773 -- abis/GovernanceVaultTest_abi.json | 906 -- abis/GovernanceVault_abi.json | 307 - abis/GovernorCompatibilityBravo_abi.json | 1181 -- abis/GovernorTimelockControl_abi.json | 983 -- abis/GovernorVotesQuorumFraction_abi.json | 956 -- abis/GovernorVotes_abi.json | 879 -- abis/Governor_abi.json | 866 -- abis/GuardManager_abi.json | 28 - abis/Guard_abi.json | 83 - abis/Guardable_abi.json | 130 - abis/HamzaGovernor_abi.json | 1353 --- abis/HasSecurityContext_abi.json | 68 - abis/HatsDeployment_abi.json | 265 - abis/HatsErrors_abi.json | 141 - abis/HatsEvents_abi.json | 241 - abis/HatsIdUtilities_abi.json | 298 - abis/HatsSecurityContext_abi.json | 92 - abis/Hats_abi.json | 1901 ---- abis/IAccessControl_abi.json | 174 - abis/IAvatar_abi.json | 206 - abis/IBaalToken_abi.json | 423 - abis/IBeaconUpgradeable_abi.json | 15 - abis/IBeacon_abi.json | 15 - abis/ICommunityRewardsCalculator_abi.json | 31 - abis/IERC1155Receiver_abi.json | 99 - abis/IERC165_abi.json | 21 - abis/IERC1822ProxiableUpgradeable_abi.json | 15 - abis/IERC1822Proxiable_abi.json | 15 - abis/IERC1967Upgradeable_abi.json | 47 - abis/IERC1967_abi.json | 47 - abis/IERC20Metadata_abi.json | 224 - abis/IERC20Permit_abi.json | 77 - abis/IERC20_abi.json | 185 - abis/IERC721Enumerable_abi.json | 343 - abis/IERC721Metadata_abi.json | 332 - abis/IERC721Receiver_abi.json | 36 - abis/IERC721TokenReceiver_abi.json | 36 - abis/IERC721_abi.json | 287 - abis/IEscrowContract_abi.json | 42 - abis/IGnosisSafe_abi.json | 15 - abis/IGovernorCompatibilityBravo_abi.json | 913 -- abis/IGovernorTimelock_abi.json | 768 -- abis/IGovernor_abi.json | 683 -- abis/IGuard_abi.json | 83 - abis/IHatsEligibility_abi.json | 31 - abis/IHatsIdUtilities_abi.json | 255 - abis/IHatsSecurityContext_abi.json | 58 - abis/IHatsToggle_abi.json | 21 - abis/IHats_abi.json | 1496 --- abis/IMulticall3_abi.json | 440 - abis/IProxyCreationCallback_abi.json | 30 - abis/IProxy_abi.json | 15 - abis/IPurchaseTracker_abi.json | 106 - abis/IRelayRecipient_abi.json | 34 - abis/ISecurityContext_abi.json | 26 - abis/ISignatureValidatorConstants_abi.json | 1 - abis/ISignatureValidator_abi.json | 26 - abis/ISystemSettings_abi.json | 28 - abis/IVotes_abi.json | 184 - abis/Initializable_abi.json | 15 - abis/LibString_abi.json | 7 - abis/MathUpgradeable_abi.json | 1 - abis/Math_abi.json | 1 - abis/MockERC20_abi.json | 322 - abis/MockERC721_abi.json | 350 - abis/ModuleManager_abi.json | 206 - abis/ModuleProxyFactory_abi.json | 88 - abis/Module_abi.json | 233 - abis/Multicallable_abi.json | 21 - abis/OwnableUpgradeable_abi.json | 67 - abis/OwnerManager_abi.json | 163 - abis/PaymentEscrowAdmins_abi.json | 117 - abis/PaymentEscrow_abi.json | 665 -- abis/Proxy_abi.json | 10 - abis/PurchaseTracker_abi.json | 381 - abis/RagequitTest_abi.json | 878 -- abis/ReentrancyGuardUpgradeable_abi.json | 15 - abis/Roles_abi.json | 93 - abis/SafeCast_abi.json | 1 - abis/SafeERC20_abi.json | 1 - abis/SafeTransactionHelper_abi.json | 1 - abis/ScriptBase_abi.json | 1 - abis/Script_abi.json | 15 - abis/SecuredTokenTransfer_abi.json | 1 - abis/SelfAuthorized_abi.json | 1 - abis/SignatureDecoder_abi.json | 1 - abis/Singleton_abi.json | 1 - abis/StdAssertions_abi.json | 379 - abis/StdChains_abi.json | 1 - abis/StdCheatsSafe_abi.json | 1 - abis/StdCheats_abi.json | 1 - abis/StdInvariant_abi.json | 180 - abis/StdStyle_abi.json | 1 - abis/StdUtils_abi.json | 1 - abis/StorageAccessible_abi.json | 44 - abis/StorageSlotUpgradeable_abi.json | 1 - abis/StorageSlot_abi.json | 1 - abis/StringsUpgradeable_abi.json | 1 - abis/Strings_abi.json | 1 - abis/SystemSettings_abi.json | 179 - abis/TestBase_abi.json | 1 - abis/TestCommunityVault_abi.json | 1132 -- abis/TestPaymentAndTracker_abi.json | 949 -- abis/TestToken_abi.json | 313 - abis/Test_abi.json | 570 - abis/TimelockController_abi.json | 872 -- abis/Timers_abi.json | 1 - abis/ToggleModule_abi.json | 114 - abis/UUPSUpgradeable_abi.json | 104 - abis/VmSafe_abi.json | 8530 --------------- abis/Vm_abi.json | 10806 ------------------- abis/VotingTest_abi.json | 948 -- abis/console_abi.json | 1 - abis/safeconsole_abi.json | 1 - abis/stdError_abi.json | 119 - abis/stdJson_abi.json | 1 - abis/stdMath_abi.json | 1 - abis/stdStorageSafe_abi.json | 52 - abis/stdStorage_abi.json | 1 - abis/stdToml_abi.json | 1 - 170 files changed, 59421 deletions(-) delete mode 100644 abis/AccessControl_abi.json delete mode 100644 abis/AddressUpgradeable_abi.json delete mode 100644 abis/Address_abi.json delete mode 100644 abis/BaalSummoner_abi.json delete mode 100644 abis/Baal_abi.json delete mode 100644 abis/Base64_abi.json delete mode 100644 abis/BaseGuard_abi.json delete mode 100644 abis/BaseRelayRecipient_abi.json delete mode 100644 abis/CarefulMath_abi.json delete mode 100644 abis/Checkpoints_abi.json delete mode 100644 abis/CommonBase_abi.json delete mode 100644 abis/CommunityRewardsCalculator_abi.json delete mode 100644 abis/CommunityVault_abi.json delete mode 100644 abis/ContextUpgradeable_abi.json delete mode 100644 abis/Context_abi.json delete mode 100644 abis/Counters_abi.json delete mode 100644 abis/CustomBaalSummoner_abi.json delete mode 100644 abis/CustomBaal_abi.json delete mode 100644 abis/DeployCustomBaalSummoner_abi.json delete mode 100644 abis/DeployHamzaVault_abi.json delete mode 100644 abis/DeploymentSetup_abi.json delete mode 100644 abis/DoubleEndedQueue_abi.json delete mode 100644 abis/ECDSAUpgradeable_abi.json delete mode 100644 abis/ECDSA_abi.json delete mode 100644 abis/EIP712Upgradeable_abi.json delete mode 100644 abis/EIP712_abi.json delete mode 100644 abis/ERC1155TokenReceiver_abi.json delete mode 100644 abis/ERC1155_abi.json delete mode 100644 abis/ERC165_abi.json delete mode 100644 abis/ERC1967Proxy_abi.json delete mode 100644 abis/ERC1967UpgradeUpgradeable_abi.json delete mode 100644 abis/ERC1967Upgrade_abi.json delete mode 100644 abis/ERC20Permit_abi.json delete mode 100644 abis/ERC20Votes_abi.json delete mode 100644 abis/ERC20Wrapper_abi.json delete mode 100644 abis/ERC20_abi.json delete mode 100644 abis/EligibilityModule_abi.json delete mode 100644 abis/Enum_abi.json delete mode 100644 abis/EscrowMulticall_abi.json delete mode 100644 abis/EtherPaymentFallback_abi.json delete mode 100644 abis/Executor_abi.json delete mode 100644 abis/FactoryFriendly_abi.json delete mode 100644 abis/FailingToken_abi.json delete mode 100644 abis/FallbackManager_abi.json delete mode 100644 abis/FullRound_abi.json delete mode 100644 abis/GnosisSafeMath_abi.json delete mode 100644 abis/GnosisSafeProxyFactory_abi.json delete mode 100644 abis/GnosisSafeProxy_abi.json delete mode 100644 abis/GnosisSafe_abi.json delete mode 100644 abis/GovernanceToken_abi.json delete mode 100644 abis/GovernanceVaultTest_abi.json delete mode 100644 abis/GovernanceVault_abi.json delete mode 100644 abis/GovernorCompatibilityBravo_abi.json delete mode 100644 abis/GovernorTimelockControl_abi.json delete mode 100644 abis/GovernorVotesQuorumFraction_abi.json delete mode 100644 abis/GovernorVotes_abi.json delete mode 100644 abis/Governor_abi.json delete mode 100644 abis/GuardManager_abi.json delete mode 100644 abis/Guard_abi.json delete mode 100644 abis/Guardable_abi.json delete mode 100644 abis/HamzaGovernor_abi.json delete mode 100644 abis/HasSecurityContext_abi.json delete mode 100644 abis/HatsDeployment_abi.json delete mode 100644 abis/HatsErrors_abi.json delete mode 100644 abis/HatsEvents_abi.json delete mode 100644 abis/HatsIdUtilities_abi.json delete mode 100644 abis/HatsSecurityContext_abi.json delete mode 100644 abis/Hats_abi.json delete mode 100644 abis/IAccessControl_abi.json delete mode 100644 abis/IAvatar_abi.json delete mode 100644 abis/IBaalToken_abi.json delete mode 100644 abis/IBeaconUpgradeable_abi.json delete mode 100644 abis/IBeacon_abi.json delete mode 100644 abis/ICommunityRewardsCalculator_abi.json delete mode 100644 abis/IERC1155Receiver_abi.json delete mode 100644 abis/IERC165_abi.json delete mode 100644 abis/IERC1822ProxiableUpgradeable_abi.json delete mode 100644 abis/IERC1822Proxiable_abi.json delete mode 100644 abis/IERC1967Upgradeable_abi.json delete mode 100644 abis/IERC1967_abi.json delete mode 100644 abis/IERC20Metadata_abi.json delete mode 100644 abis/IERC20Permit_abi.json delete mode 100644 abis/IERC20_abi.json delete mode 100644 abis/IERC721Enumerable_abi.json delete mode 100644 abis/IERC721Metadata_abi.json delete mode 100644 abis/IERC721Receiver_abi.json delete mode 100644 abis/IERC721TokenReceiver_abi.json delete mode 100644 abis/IERC721_abi.json delete mode 100644 abis/IEscrowContract_abi.json delete mode 100644 abis/IGnosisSafe_abi.json delete mode 100644 abis/IGovernorCompatibilityBravo_abi.json delete mode 100644 abis/IGovernorTimelock_abi.json delete mode 100644 abis/IGovernor_abi.json delete mode 100644 abis/IGuard_abi.json delete mode 100644 abis/IHatsEligibility_abi.json delete mode 100644 abis/IHatsIdUtilities_abi.json delete mode 100644 abis/IHatsSecurityContext_abi.json delete mode 100644 abis/IHatsToggle_abi.json delete mode 100644 abis/IHats_abi.json delete mode 100644 abis/IMulticall3_abi.json delete mode 100644 abis/IProxyCreationCallback_abi.json delete mode 100644 abis/IProxy_abi.json delete mode 100644 abis/IPurchaseTracker_abi.json delete mode 100644 abis/IRelayRecipient_abi.json delete mode 100644 abis/ISecurityContext_abi.json delete mode 100644 abis/ISignatureValidatorConstants_abi.json delete mode 100644 abis/ISignatureValidator_abi.json delete mode 100644 abis/ISystemSettings_abi.json delete mode 100644 abis/IVotes_abi.json delete mode 100644 abis/Initializable_abi.json delete mode 100644 abis/LibString_abi.json delete mode 100644 abis/MathUpgradeable_abi.json delete mode 100644 abis/Math_abi.json delete mode 100644 abis/MockERC20_abi.json delete mode 100644 abis/MockERC721_abi.json delete mode 100644 abis/ModuleManager_abi.json delete mode 100644 abis/ModuleProxyFactory_abi.json delete mode 100644 abis/Module_abi.json delete mode 100644 abis/Multicallable_abi.json delete mode 100644 abis/OwnableUpgradeable_abi.json delete mode 100644 abis/OwnerManager_abi.json delete mode 100644 abis/PaymentEscrowAdmins_abi.json delete mode 100644 abis/PaymentEscrow_abi.json delete mode 100644 abis/Proxy_abi.json delete mode 100644 abis/PurchaseTracker_abi.json delete mode 100644 abis/RagequitTest_abi.json delete mode 100644 abis/ReentrancyGuardUpgradeable_abi.json delete mode 100644 abis/Roles_abi.json delete mode 100644 abis/SafeCast_abi.json delete mode 100644 abis/SafeERC20_abi.json delete mode 100644 abis/SafeTransactionHelper_abi.json delete mode 100644 abis/ScriptBase_abi.json delete mode 100644 abis/Script_abi.json delete mode 100644 abis/SecuredTokenTransfer_abi.json delete mode 100644 abis/SelfAuthorized_abi.json delete mode 100644 abis/SignatureDecoder_abi.json delete mode 100644 abis/Singleton_abi.json delete mode 100644 abis/StdAssertions_abi.json delete mode 100644 abis/StdChains_abi.json delete mode 100644 abis/StdCheatsSafe_abi.json delete mode 100644 abis/StdCheats_abi.json delete mode 100644 abis/StdInvariant_abi.json delete mode 100644 abis/StdStyle_abi.json delete mode 100644 abis/StdUtils_abi.json delete mode 100644 abis/StorageAccessible_abi.json delete mode 100644 abis/StorageSlotUpgradeable_abi.json delete mode 100644 abis/StorageSlot_abi.json delete mode 100644 abis/StringsUpgradeable_abi.json delete mode 100644 abis/Strings_abi.json delete mode 100644 abis/SystemSettings_abi.json delete mode 100644 abis/TestBase_abi.json delete mode 100644 abis/TestCommunityVault_abi.json delete mode 100644 abis/TestPaymentAndTracker_abi.json delete mode 100644 abis/TestToken_abi.json delete mode 100644 abis/Test_abi.json delete mode 100644 abis/TimelockController_abi.json delete mode 100644 abis/Timers_abi.json delete mode 100644 abis/ToggleModule_abi.json delete mode 100644 abis/UUPSUpgradeable_abi.json delete mode 100644 abis/VmSafe_abi.json delete mode 100644 abis/Vm_abi.json delete mode 100644 abis/VotingTest_abi.json delete mode 100644 abis/console_abi.json delete mode 100644 abis/safeconsole_abi.json delete mode 100644 abis/stdError_abi.json delete mode 100644 abis/stdJson_abi.json delete mode 100644 abis/stdMath_abi.json delete mode 100644 abis/stdStorageSafe_abi.json delete mode 100644 abis/stdStorage_abi.json delete mode 100644 abis/stdToml_abi.json diff --git a/abis/AccessControl_abi.json b/abis/AccessControl_abi.json deleted file mode 100644 index 88e40a8..0000000 --- a/abis/AccessControl_abi.json +++ /dev/null @@ -1,206 +0,0 @@ -[ - { - "type": "function", - "name": "DEFAULT_ADMIN_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getRoleAdmin", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "grantRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "hasRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "revokeRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "RoleAdminChanged", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "previousAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "newAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleGranted", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleRevoked", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/AddressUpgradeable_abi.json b/abis/AddressUpgradeable_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/AddressUpgradeable_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/Address_abi.json b/abis/Address_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/Address_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/BaalSummoner_abi.json b/abis/BaalSummoner_abi.json deleted file mode 100644 index 187b085..0000000 --- a/abis/BaalSummoner_abi.json +++ /dev/null @@ -1,574 +0,0 @@ -[ - { - "type": "function", - "name": "addrsVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "deployAndSetupSafe", - "inputs": [ - { - "name": "_moduleAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "_saltNonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deployAndSetupSafe", - "inputs": [ - { - "name": "_moduleAddr", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deployTokens", - "inputs": [ - { - "name": "_name", - "type": "string", - "internalType": "string" - }, - { - "name": "_symbol", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "lootToken", - "type": "address", - "internalType": "address" - }, - { - "name": "sharesToken", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "encodeMultisend", - "inputs": [ - { - "name": "_calls", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "_target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "encodedMultisend", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "gnosisFallbackLibrary", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "gnosisMultisendLibrary", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "gnosisSingleton", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialize", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "lootSingleton", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proxiableUUID", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setAddrs", - "inputs": [ - { - "name": "_template", - "type": "address", - "internalType": "address payable" - }, - { - "name": "_gnosisSingleton", - "type": "address", - "internalType": "address" - }, - { - "name": "_gnosisFallbackLibrary", - "type": "address", - "internalType": "address" - }, - { - "name": "_gnosisMultisendLibrary", - "type": "address", - "internalType": "address" - }, - { - "name": "_gnosisSafeProxyFactory", - "type": "address", - "internalType": "address" - }, - { - "name": "_moduleProxyFactory", - "type": "address", - "internalType": "address" - }, - { - "name": "_lootSingleton", - "type": "address", - "internalType": "address" - }, - { - "name": "_sharesSingleton", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "sharesSingleton", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "summonBaal", - "inputs": [ - { - "name": "initializationParams", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "initializationActions", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "_saltNonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "summonBaalFromReferrer", - "inputs": [ - { - "name": "initializationParams", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "initializationActions", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "_saltNonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "referrer", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "template", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "upgradeTo", - "inputs": [ - { - "name": "newImplementation", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "upgradeToAndCall", - "inputs": [ - { - "name": "newImplementation", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "event", - "name": "AdminChanged", - "inputs": [ - { - "name": "previousAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "newAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "BeaconUpgraded", - "inputs": [ - { - "name": "beacon", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DaoReferral", - "inputs": [ - { - "name": "referrer", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "daoAddress", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DeployBaalSafe", - "inputs": [ - { - "name": "baalSafe", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "moduleAddr", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DeployBaalTokens", - "inputs": [ - { - "name": "lootToken", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "sharesToken", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SetAddrsVersion", - "inputs": [ - { - "name": "version", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SummonBaal", - "inputs": [ - { - "name": "baal", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "loot", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "shares", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "safe", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "forwarder", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "existingAddrs", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Upgraded", - "inputs": [ - { - "name": "implementation", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/Baal_abi.json b/abis/Baal_abi.json deleted file mode 100644 index 798b3bf..0000000 --- a/abis/Baal_abi.json +++ /dev/null @@ -1,1569 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "adminLock", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "avatar", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "burnLoot", - "inputs": [ - { - "name": "from", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "amount", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "burnShares", - "inputs": [ - { - "name": "from", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "amount", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "cancelProposal", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "encodeMultisend", - "inputs": [ - { - "name": "_calls", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "_target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "encodedMultisend", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "executeAsBaal", - "inputs": [ - { - "name": "_to", - "type": "address", - "internalType": "address" - }, - { - "name": "_value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getGuard", - "inputs": [], - "outputs": [ - { - "name": "_guard", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getProposalStatus", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "bool[4]", - "internalType": "bool[4]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "governorLock", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "gracePeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "guard", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashOperation", - "inputs": [ - { - "name": "_transactions", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "hash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "isAdmin", - "inputs": [ - { - "name": "shaman", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isGovernor", - "inputs": [ - { - "name": "shaman", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isManager", - "inputs": [ - { - "name": "shaman", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isTrustedForwarder", - "inputs": [ - { - "name": "forwarder", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "latestSponsoredProposalId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lockAdmin", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "lockGovernor", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "lockManager", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "lootToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IBaalToken" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "managerLock", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "memberVoted", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "minRetentionPercent", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "mintLoot", - "inputs": [ - { - "name": "to", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "amount", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mintShares", - "inputs": [ - { - "name": "to", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "amount", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "multisendLibrary", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "processProposal", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "proposalData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "proposalCount", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalOffering", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposals", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "prevProposalId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "votingStarts", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "votingEnds", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "graceEnds", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "expiration", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "baalGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "yesVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "noVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxTotalSharesAndLootAtVote", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxTotalSharesAtSponsor", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "sponsor", - "type": "address", - "internalType": "address" - }, - { - "name": "proposalDataHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "quorumPercent", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "ragequit", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "sharesToBurn", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "lootToBurn", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "tokens", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setAdminConfig", - "inputs": [ - { - "name": "pauseShares", - "type": "bool", - "internalType": "bool" - }, - { - "name": "pauseLoot", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setAvatar", - "inputs": [ - { - "name": "_avatar", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setGovernanceConfig", - "inputs": [ - { - "name": "_governanceConfig", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setGuard", - "inputs": [ - { - "name": "_guard", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setShamans", - "inputs": [ - { - "name": "_shamans", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_permissions", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setTarget", - "inputs": [ - { - "name": "_target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setTrustedForwarder", - "inputs": [ - { - "name": "_trustedForwarderAddress", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setUp", - "inputs": [ - { - "name": "_initializationParams", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "shamans", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "sharesToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IBaalToken" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "sponsorProposal", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "sponsorThreshold", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "state", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum Baal.ProposalState" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "submitProposal", - "inputs": [ - { - "name": "proposalData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "expiration", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "baalGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "details", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "submitVote", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "approved", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "submitVoteWithSig", - "inputs": [ - { - "name": "voter", - "type": "address", - "internalType": "address" - }, - { - "name": "expiry", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "approved", - "type": "bool", - "internalType": "bool" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "target", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalLoot", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "trustedForwarder", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "versionRecipient", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingNonces", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingPeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AvatarSet", - "inputs": [ - { - "name": "previousAvatar", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newAvatar", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "CancelProposal", - "inputs": [ - { - "name": "proposal", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ChangedGuard", - "inputs": [ - { - "name": "guard", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceConfigSet", - "inputs": [ - { - "name": "voting", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "grace", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "newOffering", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "quorum", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "sponsor", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "minRetention", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "LockAdmin", - "inputs": [ - { - "name": "adminLock", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "LockGovernor", - "inputs": [ - { - "name": "governorLock", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "LockManager", - "inputs": [ - { - "name": "managerLock", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "LootPaused", - "inputs": [ - { - "name": "paused", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProcessProposal", - "inputs": [ - { - "name": "proposal", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "passed", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "actionFailed", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Ragequit", - "inputs": [ - { - "name": "member", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "lootToBurn", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "sharesToBurn", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "tokens", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SetTrustedForwarder", - "inputs": [ - { - "name": "forwarder", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SetupComplete", - "inputs": [ - { - "name": "lootPaused", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "sharesPaused", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "gracePeriod", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "votingPeriod", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "proposalOffering", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "quorumPercent", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "sponsorThreshold", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "minRetentionPercent", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "name", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "symbol", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "totalShares", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "totalLoot", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ShamanSet", - "inputs": [ - { - "name": "shaman", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "permission", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SharesPaused", - "inputs": [ - { - "name": "paused", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SponsorProposal", - "inputs": [ - { - "name": "member", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposal", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "votingStarts", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SubmitProposal", - "inputs": [ - { - "name": "proposal", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "proposalDataHash", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "votingPeriod", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposalData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - }, - { - "name": "expiration", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "baalGas", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "selfSponsor", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "timestamp", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "details", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SubmitVote", - "inputs": [ - { - "name": "member", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "balance", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposal", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "approved", - "type": "bool", - "indexed": true, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TargetSet", - "inputs": [ - { - "name": "previousTarget", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newTarget", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "NotIERC165Compliant", - "inputs": [ - { - "name": "guard_", - "type": "address", - "internalType": "address" - } - ] - } -] diff --git a/abis/Base64_abi.json b/abis/Base64_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/Base64_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/BaseGuard_abi.json b/abis/BaseGuard_abi.json deleted file mode 100644 index 240c192..0000000 --- a/abis/BaseGuard_abi.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "type": "function", - "name": "checkAfterExecution", - "inputs": [ - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "checkTransaction", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - }, - { - "name": "safeTxGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "baseGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasPrice", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasToken", - "type": "address", - "internalType": "address" - }, - { - "name": "refundReceiver", - "type": "address", - "internalType": "address payable" - }, - { - "name": "signatures", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "msgSender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - } -] diff --git a/abis/BaseRelayRecipient_abi.json b/abis/BaseRelayRecipient_abi.json deleted file mode 100644 index ed96ed9..0000000 --- a/abis/BaseRelayRecipient_abi.json +++ /dev/null @@ -1,47 +0,0 @@ -[ - { - "type": "function", - "name": "isTrustedForwarder", - "inputs": [ - { - "name": "forwarder", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "trustedForwarder", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "versionRecipient", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/CarefulMath_abi.json b/abis/CarefulMath_abi.json deleted file mode 100644 index f650655..0000000 --- a/abis/CarefulMath_abi.json +++ /dev/null @@ -1,23 +0,0 @@ -[ - { - "type": "error", - "name": "PRBMath__MulDivOverflow", - "inputs": [ - { - "name": "x", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "y", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "denominator", - "type": "uint256", - "internalType": "uint256" - } - ] - } -] diff --git a/abis/Checkpoints_abi.json b/abis/Checkpoints_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/Checkpoints_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/CommonBase_abi.json b/abis/CommonBase_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/CommonBase_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/CommunityRewardsCalculator_abi.json b/abis/CommunityRewardsCalculator_abi.json deleted file mode 100644 index 3e6fae9..0000000 --- a/abis/CommunityRewardsCalculator_abi.json +++ /dev/null @@ -1,31 +0,0 @@ -[ - { - "type": "function", - "name": "getRewardsToDistribute", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "address" - }, - { - "name": "recipients", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "purchaseTracker", - "type": "address", - "internalType": "contract IPurchaseTracker" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "nonpayable" - } -] diff --git a/abis/CommunityVault_abi.json b/abis/CommunityVault_abi.json deleted file mode 100644 index dba34fd..0000000 --- a/abis/CommunityVault_abi.json +++ /dev/null @@ -1,423 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "_securityContext", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "claimRewards", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "distribute", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "address" - }, - { - "name": "recipients", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "amounts", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "distributeRewards", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "address" - }, - { - "name": "recipients", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getBalance", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "governanceVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "purchaseTracker", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "rewardsCalculator", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ICommunityRewardsCalculator" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "rewardsDistributed", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "securityContext", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setCommunityRewardsCalculator", - "inputs": [ - { - "name": "calculator", - "type": "address", - "internalType": "contract ICommunityRewardsCalculator" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setGovernanceVault", - "inputs": [ - { - "name": "vault", - "type": "address", - "internalType": "address" - }, - { - "name": "lootToken", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setPurchaseTracker", - "inputs": [ - { - "name": "_purchaseTracker", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setSecurityContext", - "inputs": [ - { - "name": "_securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "tokenBalances", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Deposit", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Distribute", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardDistributed", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "recipient", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SecurityContextSet", - "inputs": [ - { - "name": "caller", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "securityContext", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Withdraw", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "UnauthorizedAccess", - "inputs": [ - { - "name": "roleId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "addr", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "ZeroAddressArgument", - "inputs": [] - } -] diff --git a/abis/ContextUpgradeable_abi.json b/abis/ContextUpgradeable_abi.json deleted file mode 100644 index ccf42b8..0000000 --- a/abis/ContextUpgradeable_abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - } -] diff --git a/abis/Context_abi.json b/abis/Context_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/Context_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/Counters_abi.json b/abis/Counters_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/Counters_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/CustomBaalSummoner_abi.json b/abis/CustomBaalSummoner_abi.json deleted file mode 100644 index 187b085..0000000 --- a/abis/CustomBaalSummoner_abi.json +++ /dev/null @@ -1,574 +0,0 @@ -[ - { - "type": "function", - "name": "addrsVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "deployAndSetupSafe", - "inputs": [ - { - "name": "_moduleAddr", - "type": "address", - "internalType": "address" - }, - { - "name": "_saltNonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deployAndSetupSafe", - "inputs": [ - { - "name": "_moduleAddr", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deployTokens", - "inputs": [ - { - "name": "_name", - "type": "string", - "internalType": "string" - }, - { - "name": "_symbol", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "lootToken", - "type": "address", - "internalType": "address" - }, - { - "name": "sharesToken", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "encodeMultisend", - "inputs": [ - { - "name": "_calls", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "_target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "encodedMultisend", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "gnosisFallbackLibrary", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "gnosisMultisendLibrary", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "gnosisSingleton", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialize", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "lootSingleton", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proxiableUUID", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setAddrs", - "inputs": [ - { - "name": "_template", - "type": "address", - "internalType": "address payable" - }, - { - "name": "_gnosisSingleton", - "type": "address", - "internalType": "address" - }, - { - "name": "_gnosisFallbackLibrary", - "type": "address", - "internalType": "address" - }, - { - "name": "_gnosisMultisendLibrary", - "type": "address", - "internalType": "address" - }, - { - "name": "_gnosisSafeProxyFactory", - "type": "address", - "internalType": "address" - }, - { - "name": "_moduleProxyFactory", - "type": "address", - "internalType": "address" - }, - { - "name": "_lootSingleton", - "type": "address", - "internalType": "address" - }, - { - "name": "_sharesSingleton", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "sharesSingleton", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "summonBaal", - "inputs": [ - { - "name": "initializationParams", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "initializationActions", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "_saltNonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "summonBaalFromReferrer", - "inputs": [ - { - "name": "initializationParams", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "initializationActions", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "_saltNonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "referrer", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "template", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "upgradeTo", - "inputs": [ - { - "name": "newImplementation", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "upgradeToAndCall", - "inputs": [ - { - "name": "newImplementation", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "event", - "name": "AdminChanged", - "inputs": [ - { - "name": "previousAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "newAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "BeaconUpgraded", - "inputs": [ - { - "name": "beacon", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DaoReferral", - "inputs": [ - { - "name": "referrer", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "daoAddress", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DeployBaalSafe", - "inputs": [ - { - "name": "baalSafe", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "moduleAddr", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DeployBaalTokens", - "inputs": [ - { - "name": "lootToken", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "sharesToken", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SetAddrsVersion", - "inputs": [ - { - "name": "version", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SummonBaal", - "inputs": [ - { - "name": "baal", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "loot", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "shares", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "safe", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "forwarder", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "existingAddrs", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Upgraded", - "inputs": [ - { - "name": "implementation", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/CustomBaal_abi.json b/abis/CustomBaal_abi.json deleted file mode 100644 index c5390b2..0000000 --- a/abis/CustomBaal_abi.json +++ /dev/null @@ -1,1582 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "adminLock", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "avatar", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "burnLoot", - "inputs": [ - { - "name": "from", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "amount", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "burnShares", - "inputs": [ - { - "name": "from", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "amount", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "cancelProposal", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "communityVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "encodeMultisend", - "inputs": [ - { - "name": "_calls", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "_target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "encodedMultisend", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "executeAsBaal", - "inputs": [ - { - "name": "_to", - "type": "address", - "internalType": "address" - }, - { - "name": "_value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getGuard", - "inputs": [], - "outputs": [ - { - "name": "_guard", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getProposalStatus", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "bool[4]", - "internalType": "bool[4]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "governorLock", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "gracePeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "guard", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashOperation", - "inputs": [ - { - "name": "_transactions", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "hash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "isAdmin", - "inputs": [ - { - "name": "shaman", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isGovernor", - "inputs": [ - { - "name": "shaman", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isManager", - "inputs": [ - { - "name": "shaman", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isTrustedForwarder", - "inputs": [ - { - "name": "forwarder", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "latestSponsoredProposalId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lockAdmin", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "lockGovernor", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "lockManager", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "lootToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IBaalToken" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "managerLock", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "memberVoted", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "minRetentionPercent", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "mintLoot", - "inputs": [ - { - "name": "to", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "amount", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mintShares", - "inputs": [ - { - "name": "to", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "amount", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "multisendLibrary", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "processProposal", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "proposalData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "proposalCount", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalOffering", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposals", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "prevProposalId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "votingStarts", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "votingEnds", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "graceEnds", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "expiration", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "baalGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "yesVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "noVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxTotalSharesAndLootAtVote", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxTotalSharesAtSponsor", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "sponsor", - "type": "address", - "internalType": "address" - }, - { - "name": "proposalDataHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "quorumPercent", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "ragequit", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "sharesToBurn", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "lootToBurn", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "tokens", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setAdminConfig", - "inputs": [ - { - "name": "pauseShares", - "type": "bool", - "internalType": "bool" - }, - { - "name": "pauseLoot", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setAvatar", - "inputs": [ - { - "name": "_avatar", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setGovernanceConfig", - "inputs": [ - { - "name": "_governanceConfig", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setGuard", - "inputs": [ - { - "name": "_guard", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setShamans", - "inputs": [ - { - "name": "_shamans", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_permissions", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setTarget", - "inputs": [ - { - "name": "_target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setTrustedForwarder", - "inputs": [ - { - "name": "_trustedForwarderAddress", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setUp", - "inputs": [ - { - "name": "_initializationParams", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "shamans", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "sharesToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IBaalToken" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "sponsorProposal", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "sponsorThreshold", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "state", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum CustomBaal.ProposalState" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "submitProposal", - "inputs": [ - { - "name": "proposalData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "expiration", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "baalGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "details", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "submitVote", - "inputs": [ - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "approved", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "submitVoteWithSig", - "inputs": [ - { - "name": "voter", - "type": "address", - "internalType": "address" - }, - { - "name": "expiry", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "id", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "approved", - "type": "bool", - "internalType": "bool" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "target", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalLoot", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "trustedForwarder", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "versionRecipient", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingNonces", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingPeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AvatarSet", - "inputs": [ - { - "name": "previousAvatar", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newAvatar", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "CancelProposal", - "inputs": [ - { - "name": "proposal", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ChangedGuard", - "inputs": [ - { - "name": "guard", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "GovernanceConfigSet", - "inputs": [ - { - "name": "voting", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "grace", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "newOffering", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "quorum", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "sponsor", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "minRetention", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "LockAdmin", - "inputs": [ - { - "name": "adminLock", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "LockGovernor", - "inputs": [ - { - "name": "governorLock", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "LockManager", - "inputs": [ - { - "name": "managerLock", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "LootPaused", - "inputs": [ - { - "name": "paused", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProcessProposal", - "inputs": [ - { - "name": "proposal", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "passed", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "actionFailed", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Ragequit", - "inputs": [ - { - "name": "member", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "lootToBurn", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "sharesToBurn", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "tokens", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SetTrustedForwarder", - "inputs": [ - { - "name": "forwarder", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SetupComplete", - "inputs": [ - { - "name": "lootPaused", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "sharesPaused", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "gracePeriod", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "votingPeriod", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "proposalOffering", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "quorumPercent", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "sponsorThreshold", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "minRetentionPercent", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "name", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "symbol", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "totalShares", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "totalLoot", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ShamanSet", - "inputs": [ - { - "name": "shaman", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "permission", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SharesPaused", - "inputs": [ - { - "name": "paused", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SponsorProposal", - "inputs": [ - { - "name": "member", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposal", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "votingStarts", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SubmitProposal", - "inputs": [ - { - "name": "proposal", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "proposalDataHash", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "votingPeriod", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposalData", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - }, - { - "name": "expiration", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "baalGas", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "selfSponsor", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "timestamp", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "details", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SubmitVote", - "inputs": [ - { - "name": "member", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "balance", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposal", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "approved", - "type": "bool", - "indexed": true, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TargetSet", - "inputs": [ - { - "name": "previousTarget", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newTarget", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "NotIERC165Compliant", - "inputs": [ - { - "name": "guard_", - "type": "address", - "internalType": "address" - } - ] - } -] diff --git a/abis/DeployCustomBaalSummoner_abi.json b/abis/DeployCustomBaalSummoner_abi.json deleted file mode 100644 index 2a83ad0..0000000 --- a/abis/DeployCustomBaalSummoner_abi.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "type": "function", - "name": "IS_SCRIPT", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "run", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/DeployHamzaVault_abi.json b/abis/DeployHamzaVault_abi.json deleted file mode 100644 index cd5b5ae..0000000 --- a/abis/DeployHamzaVault_abi.json +++ /dev/null @@ -1,248 +0,0 @@ -[ - { - "type": "function", - "name": "IS_SCRIPT", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "OWNER_ONE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "OWNER_TWO", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "adminHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "burnerHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "config", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "daoHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "escrowAddr", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "governorAddr", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hamzaToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hats", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hatsSecurityContextAddr", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "minterHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "purchaseTrackerAddr", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "run", - "inputs": [], - "outputs": [ - { - "name": "hamzaBaal", - "type": "address", - "internalType": "address" - }, - { - "name": "communityVault", - "type": "address", - "internalType": "address payable" - }, - { - "name": "governanceToken", - "type": "address", - "internalType": "address" - }, - { - "name": "governanceVault", - "type": "address", - "internalType": "address" - }, - { - "name": "_safeAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "_hatsSecurityContext", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "safeAddr", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "systemSettingsAddr", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/DeploymentSetup_abi.json b/abis/DeploymentSetup_abi.json deleted file mode 100644 index 20df28b..0000000 --- a/abis/DeploymentSetup_abi.json +++ /dev/null @@ -1,850 +0,0 @@ -[ - { - "type": "function", - "name": "IS_TEST", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "admin", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "adminHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "autoRelease", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "baal", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "communityVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "escrow", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeArtifacts", - "inputs": [], - "outputs": [ - { - "name": "excludedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeContracts", - "inputs": [], - "outputs": [ - { - "name": "excludedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSelectors", - "inputs": [], - "outputs": [ - { - "name": "excludedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSenders", - "inputs": [], - "outputs": [ - { - "name": "excludedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "failed", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "governor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hatsCtx", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialFeeBps", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lootToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "purchaseTracker", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safe", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "script", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract DeployHamzaVault" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setUp", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "systemSettings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifactSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifactSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzArtifactSelector[]", - "components": [ - { - "name": "artifact", - "type": "string", - "internalType": "string" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifacts", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetContracts", - "inputs": [], - "outputs": [ - { - "name": "targetedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetInterfaces", - "inputs": [], - "outputs": [ - { - "name": "targetedInterfaces_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzInterface[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "artifacts", - "type": "string[]", - "internalType": "string[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSenders", - "inputs": [], - "outputs": [ - { - "name": "targetedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "timeLockDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "user", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "userLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vaultLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vestingPeriodFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "log", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_address", - "inputs": [ - { - "name": "", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes32", - "inputs": [ - { - "name": "", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_int", - "inputs": [ - { - "name": "", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_address", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes32", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_string", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_string", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_uint", - "inputs": [ - { - "name": "", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "logs", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/DoubleEndedQueue_abi.json b/abis/DoubleEndedQueue_abi.json deleted file mode 100644 index 45ec18c..0000000 --- a/abis/DoubleEndedQueue_abi.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "type": "error", - "name": "Empty", - "inputs": [] - }, - { - "type": "error", - "name": "OutOfBounds", - "inputs": [] - } -] diff --git a/abis/ECDSAUpgradeable_abi.json b/abis/ECDSAUpgradeable_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/ECDSAUpgradeable_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/ECDSA_abi.json b/abis/ECDSA_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/ECDSA_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/EIP712Upgradeable_abi.json b/abis/EIP712Upgradeable_abi.json deleted file mode 100644 index ccf42b8..0000000 --- a/abis/EIP712Upgradeable_abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - } -] diff --git a/abis/EIP712_abi.json b/abis/EIP712_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/EIP712_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/ERC1155TokenReceiver_abi.json b/abis/ERC1155TokenReceiver_abi.json deleted file mode 100644 index cad1230..0000000 --- a/abis/ERC1155TokenReceiver_abi.json +++ /dev/null @@ -1,80 +0,0 @@ -[ - { - "type": "function", - "name": "onERC1155BatchReceived", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC1155Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - } -] diff --git a/abis/ERC1155_abi.json b/abis/ERC1155_abi.json deleted file mode 100644 index 6612549..0000000 --- a/abis/ERC1155_abi.json +++ /dev/null @@ -1,314 +0,0 @@ -[ - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "balanceOfBatch", - "inputs": [ - { - "name": "owners", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "ids", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [ - { - "name": "balances", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isApprovedForAll", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safeBatchTransferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "ids", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "amounts", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "safeTransferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setApprovalForAll", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "approved", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "uri", - "inputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "ApprovalForAll", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "approved", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TransferBatch", - "inputs": [ - { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "ids", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "amounts", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TransferSingle", - "inputs": [ - { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "id", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "URI", - "inputs": [ - { - "name": "value", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/ERC165_abi.json b/abis/ERC165_abi.json deleted file mode 100644 index 5e3c49a..0000000 --- a/abis/ERC165_abi.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/ERC1967Proxy_abi.json b/abis/ERC1967Proxy_abi.json deleted file mode 100644 index 9dadb5f..0000000 --- a/abis/ERC1967Proxy_abi.json +++ /dev/null @@ -1,71 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "_logic", - "type": "address", - "internalType": "address" - }, - { - "name": "_data", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "payable" - }, - { - "type": "fallback", - "stateMutability": "payable" - }, - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "event", - "name": "AdminChanged", - "inputs": [ - { - "name": "previousAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "newAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "BeaconUpgraded", - "inputs": [ - { - "name": "beacon", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Upgraded", - "inputs": [ - { - "name": "implementation", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/ERC1967UpgradeUpgradeable_abi.json b/abis/ERC1967UpgradeUpgradeable_abi.json deleted file mode 100644 index ba18dd2..0000000 --- a/abis/ERC1967UpgradeUpgradeable_abi.json +++ /dev/null @@ -1,60 +0,0 @@ -[ - { - "type": "event", - "name": "AdminChanged", - "inputs": [ - { - "name": "previousAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "newAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "BeaconUpgraded", - "inputs": [ - { - "name": "beacon", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Upgraded", - "inputs": [ - { - "name": "implementation", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/ERC1967Upgrade_abi.json b/abis/ERC1967Upgrade_abi.json deleted file mode 100644 index 50bc8bf..0000000 --- a/abis/ERC1967Upgrade_abi.json +++ /dev/null @@ -1,47 +0,0 @@ -[ - { - "type": "event", - "name": "AdminChanged", - "inputs": [ - { - "name": "previousAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "newAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "BeaconUpgraded", - "inputs": [ - { - "name": "beacon", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Upgraded", - "inputs": [ - { - "name": "implementation", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/ERC20Permit_abi.json b/abis/ERC20Permit_abi.json deleted file mode 100644 index 025ec19..0000000 --- a/abis/ERC20Permit_abi.json +++ /dev/null @@ -1,347 +0,0 @@ -[ - { - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "subtractedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "addedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "deadline", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/ERC20Votes_abi.json b/abis/ERC20Votes_abi.json deleted file mode 100644 index d8c3296..0000000 --- a/abis/ERC20Votes_abi.json +++ /dev/null @@ -1,584 +0,0 @@ -[ - { - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "checkpoints", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "pos", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct ERC20Votes.Checkpoint", - "components": [ - { - "name": "fromBlock", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "votes", - "type": "uint224", - "internalType": "uint224" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "subtractedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "delegate", - "inputs": [ - { - "name": "delegatee", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "delegateBySig", - "inputs": [ - { - "name": "delegatee", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "expiry", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "delegates", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getPastTotalSupply", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getPastVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "addedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "numCheckpoints", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "deadline", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DelegateChanged", - "inputs": [ - { - "name": "delegator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "fromDelegate", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "toDelegate", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DelegateVotesChanged", - "inputs": [ - { - "name": "delegate", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "previousBalance", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newBalance", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/ERC20Wrapper_abi.json b/abis/ERC20Wrapper_abi.json deleted file mode 100644 index 7cf7015..0000000 --- a/abis/ERC20Wrapper_abi.json +++ /dev/null @@ -1,333 +0,0 @@ -[ - { - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "subtractedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "depositFor", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "addedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "underlying", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IERC20" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "withdrawTo", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/ERC20_abi.json b/abis/ERC20_abi.json deleted file mode 100644 index d1bf1cf..0000000 --- a/abis/ERC20_abi.json +++ /dev/null @@ -1,288 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "name_", - "type": "string", - "internalType": "string" - }, - { - "name": "symbol_", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "subtractedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "addedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/EligibilityModule_abi.json b/abis/EligibilityModule_abi.json deleted file mode 100644 index 048aa6c..0000000 --- a/abis/EligibilityModule_abi.json +++ /dev/null @@ -1,140 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "_admin", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "admin", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getWearerStatus", - "inputs": [ - { - "name": "wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "eligible", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "standing", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hatRules", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "eligible", - "type": "bool", - "internalType": "bool" - }, - { - "name": "standing", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setHatRules", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_eligible", - "type": "bool", - "internalType": "bool" - }, - { - "name": "_standing", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferAdmin", - "inputs": [ - { - "name": "newAdmin", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "HatRulesUpdated", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "eligible", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "standing", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - } -] diff --git a/abis/Enum_abi.json b/abis/Enum_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/Enum_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/EscrowMulticall_abi.json b/abis/EscrowMulticall_abi.json deleted file mode 100644 index c3df3a0..0000000 --- a/abis/EscrowMulticall_abi.json +++ /dev/null @@ -1,56 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "multipay", - "inputs": [ - { - "name": "payments", - "type": "tuple[]", - "internalType": "struct MulticallPaymentInput[]", - "components": [ - { - "name": "contractAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "currency", - "type": "address", - "internalType": "address" - }, - { - "name": "id", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "receiver", - "type": "address", - "internalType": "address" - }, - { - "name": "payer", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "outputs": [], - "stateMutability": "payable" - } -] diff --git a/abis/EtherPaymentFallback_abi.json b/abis/EtherPaymentFallback_abi.json deleted file mode 100644 index a35a5ae..0000000 --- a/abis/EtherPaymentFallback_abi.json +++ /dev/null @@ -1,25 +0,0 @@ -[ - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "event", - "name": "SafeReceived", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/Executor_abi.json b/abis/Executor_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/Executor_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/FactoryFriendly_abi.json b/abis/FactoryFriendly_abi.json deleted file mode 100644 index 4e37157..0000000 --- a/abis/FactoryFriendly_abi.json +++ /dev/null @@ -1,80 +0,0 @@ -[ - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setUp", - "inputs": [ - { - "name": "initializeParams", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/FailingToken_abi.json b/abis/FailingToken_abi.json deleted file mode 100644 index 67f247f..0000000 --- a/abis/FailingToken_abi.json +++ /dev/null @@ -1,262 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "failTransfers", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setFailTransfers", - "inputs": [ - { - "name": "_fail", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "test", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address", - "internalType": "address" - }, - { - "name": "recipient", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/FallbackManager_abi.json b/abis/FallbackManager_abi.json deleted file mode 100644 index 9f90fdd..0000000 --- a/abis/FallbackManager_abi.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "type": "fallback", - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setFallbackHandler", - "inputs": [ - { - "name": "handler", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "ChangedFallbackHandler", - "inputs": [ - { - "name": "handler", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/FullRound_abi.json b/abis/FullRound_abi.json deleted file mode 100644 index 25003c8..0000000 --- a/abis/FullRound_abi.json +++ /dev/null @@ -1,864 +0,0 @@ -[ - { - "type": "function", - "name": "IS_TEST", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "admin", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "adminHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "autoRelease", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "baal", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "communityVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "escrow", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeArtifacts", - "inputs": [], - "outputs": [ - { - "name": "excludedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeContracts", - "inputs": [], - "outputs": [ - { - "name": "excludedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSelectors", - "inputs": [], - "outputs": [ - { - "name": "excludedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSenders", - "inputs": [], - "outputs": [ - { - "name": "excludedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "failed", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "governor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hatsCtx", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialFeeBps", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lootToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "purchaseTracker", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safe", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "script", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract DeployHamzaVault" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setUp", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "systemSettings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifactSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifactSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzArtifactSelector[]", - "components": [ - { - "name": "artifact", - "type": "string", - "internalType": "string" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifacts", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetContracts", - "inputs": [], - "outputs": [ - { - "name": "targetedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetInterfaces", - "inputs": [], - "outputs": [ - { - "name": "targetedInterfaces_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzInterface[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "artifacts", - "type": "string[]", - "internalType": "string[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSenders", - "inputs": [], - "outputs": [ - { - "name": "targetedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "testDeployment", - "inputs": [], - "outputs": [], - "stateMutability": "view" - }, - { - "type": "function", - "name": "testVestingAndRewardsFlow", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "timeLockDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "user", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "userLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vaultLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vestingPeriodFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "log", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_address", - "inputs": [ - { - "name": "", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes32", - "inputs": [ - { - "name": "", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_int", - "inputs": [ - { - "name": "", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_address", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes32", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_string", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_string", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_uint", - "inputs": [ - { - "name": "", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "logs", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/GnosisSafeMath_abi.json b/abis/GnosisSafeMath_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/GnosisSafeMath_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/GnosisSafeProxyFactory_abi.json b/abis/GnosisSafeProxyFactory_abi.json deleted file mode 100644 index e577832..0000000 --- a/abis/GnosisSafeProxyFactory_abi.json +++ /dev/null @@ -1,163 +0,0 @@ -[ - { - "type": "function", - "name": "calculateCreateProxyWithNonceAddress", - "inputs": [ - { - "name": "_singleton", - "type": "address", - "internalType": "address" - }, - { - "name": "initializer", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "saltNonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "proxy", - "type": "address", - "internalType": "contract GnosisSafeProxy" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createProxy", - "inputs": [ - { - "name": "singleton", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "proxy", - "type": "address", - "internalType": "contract GnosisSafeProxy" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createProxyWithCallback", - "inputs": [ - { - "name": "_singleton", - "type": "address", - "internalType": "address" - }, - { - "name": "initializer", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "saltNonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "callback", - "type": "address", - "internalType": "contract IProxyCreationCallback" - } - ], - "outputs": [ - { - "name": "proxy", - "type": "address", - "internalType": "contract GnosisSafeProxy" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createProxyWithNonce", - "inputs": [ - { - "name": "_singleton", - "type": "address", - "internalType": "address" - }, - { - "name": "initializer", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "saltNonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "proxy", - "type": "address", - "internalType": "contract GnosisSafeProxy" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "proxyCreationCode", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "proxyRuntimeCode", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "event", - "name": "ProxyCreation", - "inputs": [ - { - "name": "proxy", - "type": "address", - "indexed": false, - "internalType": "contract GnosisSafeProxy" - }, - { - "name": "singleton", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/GnosisSafeProxy_abi.json b/abis/GnosisSafeProxy_abi.json deleted file mode 100644 index bb32ce1..0000000 --- a/abis/GnosisSafeProxy_abi.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "_singleton", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "fallback", - "stateMutability": "payable" - } -] diff --git a/abis/GnosisSafe_abi.json b/abis/GnosisSafe_abi.json deleted file mode 100644 index 3db4368..0000000 --- a/abis/GnosisSafe_abi.json +++ /dev/null @@ -1,1033 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "fallback", - "stateMutability": "nonpayable" - }, - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "VERSION", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "addOwnerWithThreshold", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "_threshold", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "approveHash", - "inputs": [ - { - "name": "hashToApprove", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "approvedHashes", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "changeThreshold", - "inputs": [ - { - "name": "_threshold", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "checkNSignatures", - "inputs": [ - { - "name": "dataHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "signatures", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "requiredSignatures", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "view" - }, - { - "type": "function", - "name": "checkSignatures", - "inputs": [ - { - "name": "dataHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "signatures", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "view" - }, - { - "type": "function", - "name": "disableModule", - "inputs": [ - { - "name": "prevModule", - "type": "address", - "internalType": "address" - }, - { - "name": "module", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "domainSeparator", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "enableModule", - "inputs": [ - { - "name": "module", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "encodeTransactionData", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - }, - { - "name": "safeTxGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "baseGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasPrice", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasToken", - "type": "address", - "internalType": "address" - }, - { - "name": "refundReceiver", - "type": "address", - "internalType": "address" - }, - { - "name": "_nonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "execTransaction", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - }, - { - "name": "safeTxGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "baseGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasPrice", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasToken", - "type": "address", - "internalType": "address" - }, - { - "name": "refundReceiver", - "type": "address", - "internalType": "address payable" - }, - { - "name": "signatures", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "execTransactionFromModule", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execTransactionFromModuleReturnData", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getChainId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getModulesPaginated", - "inputs": [ - { - "name": "start", - "type": "address", - "internalType": "address" - }, - { - "name": "pageSize", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "array", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "next", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getOwners", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getStorageAt", - "inputs": [ - { - "name": "offset", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "length", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getThreshold", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getTransactionHash", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - }, - { - "name": "safeTxGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "baseGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasPrice", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasToken", - "type": "address", - "internalType": "address" - }, - { - "name": "refundReceiver", - "type": "address", - "internalType": "address" - }, - { - "name": "_nonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isModuleEnabled", - "inputs": [ - { - "name": "module", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isOwner", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "nonce", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "removeOwner", - "inputs": [ - { - "name": "prevOwner", - "type": "address", - "internalType": "address" - }, - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "_threshold", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "requiredTxGas", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setFallbackHandler", - "inputs": [ - { - "name": "handler", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setGuard", - "inputs": [ - { - "name": "guard", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setup", - "inputs": [ - { - "name": "_owners", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_threshold", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "fallbackHandler", - "type": "address", - "internalType": "address" - }, - { - "name": "paymentToken", - "type": "address", - "internalType": "address" - }, - { - "name": "payment", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "paymentReceiver", - "type": "address", - "internalType": "address payable" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "signedMessages", - "inputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "simulateAndRevert", - "inputs": [ - { - "name": "targetContract", - "type": "address", - "internalType": "address" - }, - { - "name": "calldataPayload", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "swapOwner", - "inputs": [ - { - "name": "prevOwner", - "type": "address", - "internalType": "address" - }, - { - "name": "oldOwner", - "type": "address", - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "AddedOwner", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ApproveHash", - "inputs": [ - { - "name": "approvedHash", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ChangedFallbackHandler", - "inputs": [ - { - "name": "handler", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ChangedGuard", - "inputs": [ - { - "name": "guard", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ChangedThreshold", - "inputs": [ - { - "name": "threshold", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DisabledModule", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "EnabledModule", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ExecutionFailure", - "inputs": [ - { - "name": "txHash", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "payment", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ExecutionFromModuleFailure", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ExecutionFromModuleSuccess", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ExecutionSuccess", - "inputs": [ - { - "name": "txHash", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "payment", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RemovedOwner", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SafeReceived", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SafeSetup", - "inputs": [ - { - "name": "initiator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "owners", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "threshold", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "initializer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "fallbackHandler", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SignMsg", - "inputs": [ - { - "name": "msgHash", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - } - ], - "anonymous": false - } -] diff --git a/abis/GovernanceToken_abi.json b/abis/GovernanceToken_abi.json deleted file mode 100644 index 11bccd6..0000000 --- a/abis/GovernanceToken_abi.json +++ /dev/null @@ -1,773 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - }, - { - "name": "wrappedToken", - "type": "address", - "internalType": "contract IERC20" - }, - { - "name": "", - "type": "string", - "internalType": "string" - }, - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "burn", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "checkpoints", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "pos", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct ERC20Votes.Checkpoint", - "components": [ - { - "name": "fromBlock", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "votes", - "type": "uint224", - "internalType": "uint224" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "subtractedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "delegate", - "inputs": [ - { - "name": "delegatee", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "delegateBySig", - "inputs": [ - { - "name": "delegatee", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "expiry", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "delegates", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "depositFor", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getPastTotalSupply", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getPastVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "addedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mint", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "numCheckpoints", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "deadline", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "securityContext", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setSecurityContext", - "inputs": [ - { - "name": "_securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "underlying", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IERC20" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "withdrawTo", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DelegateChanged", - "inputs": [ - { - "name": "delegator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "fromDelegate", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "toDelegate", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DelegateVotesChanged", - "inputs": [ - { - "name": "delegate", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "previousBalance", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newBalance", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SecurityContextSet", - "inputs": [ - { - "name": "caller", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "securityContext", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "UnauthorizedAccess", - "inputs": [ - { - "name": "roleId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "addr", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "ZeroAddressArgument", - "inputs": [] - } -] diff --git a/abis/GovernanceVaultTest_abi.json b/abis/GovernanceVaultTest_abi.json deleted file mode 100644 index 9c77207..0000000 --- a/abis/GovernanceVaultTest_abi.json +++ /dev/null @@ -1,906 +0,0 @@ -[ - { - "type": "function", - "name": "IS_TEST", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "admin", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "adminHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "autoRelease", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "baal", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "communityVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "escrow", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeArtifacts", - "inputs": [], - "outputs": [ - { - "name": "excludedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeContracts", - "inputs": [], - "outputs": [ - { - "name": "excludedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSelectors", - "inputs": [], - "outputs": [ - { - "name": "excludedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSenders", - "inputs": [], - "outputs": [ - { - "name": "excludedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "failed", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "governor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hatsCtx", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialFeeBps", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lootToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "purchaseTracker", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safe", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "script", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract DeployHamzaVault" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setUp", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "systemSettings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifactSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifactSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzArtifactSelector[]", - "components": [ - { - "name": "artifact", - "type": "string", - "internalType": "string" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifacts", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetContracts", - "inputs": [], - "outputs": [ - { - "name": "targetedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetInterfaces", - "inputs": [], - "outputs": [ - { - "name": "targetedInterfaces_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzInterface[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "artifacts", - "type": "string[]", - "internalType": "string[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSenders", - "inputs": [], - "outputs": [ - { - "name": "targetedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "testBasicDeposit", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testCannotWithdrawBeforeVesting", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDepositForAnotherUser", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDistributeRewardsAfterVesting", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testFullWithdrawalAfterVestingWithRewards", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testGovernanceVaultSetup", - "inputs": [], - "outputs": [], - "stateMutability": "view" - }, - { - "type": "function", - "name": "testNoRewardsDistributedIfNotVested", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testPartialWithdrawal", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "timeLockDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "user", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "userLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vaultLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vestingPeriodFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "log", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_address", - "inputs": [ - { - "name": "", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes32", - "inputs": [ - { - "name": "", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_int", - "inputs": [ - { - "name": "", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_address", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes32", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_string", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_string", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_uint", - "inputs": [ - { - "name": "", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "logs", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/GovernanceVault_abi.json b/abis/GovernanceVault_abi.json deleted file mode 100644 index 4230841..0000000 --- a/abis/GovernanceVault_abi.json +++ /dev/null @@ -1,307 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - }, - { - "name": "lootTokenAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "governanceTokenAddress", - "type": "address", - "internalType": "contract GovernanceToken" - }, - { - "name": "vestingPeriod", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "communityVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "depositFor", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deposits", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "stakedAt", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "rewardsDistributed", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "distributeRewards", - "inputs": [ - { - "name": "staker", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "governanceToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract GovernanceToken" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lootToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IERC20" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "securityContext", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setCommunityVault", - "inputs": [ - { - "name": "_communityVault", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setSecurityContext", - "inputs": [ - { - "name": "_securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "vestingPeriodSeconds", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Deposited", - "inputs": [ - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardDistributed", - "inputs": [ - { - "name": "staker", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SecurityContextSet", - "inputs": [ - { - "name": "caller", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "securityContext", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Withdrawn", - "inputs": [ - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "UnauthorizedAccess", - "inputs": [ - { - "name": "roleId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "addr", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "ZeroAddressArgument", - "inputs": [] - } -] diff --git a/abis/GovernorCompatibilityBravo_abi.json b/abis/GovernorCompatibilityBravo_abi.json deleted file mode 100644 index 2828025..0000000 --- a/abis/GovernorCompatibilityBravo_abi.json +++ /dev/null @@ -1,1181 +0,0 @@ -[ - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "COUNTING_MODE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "EXTENDED_BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "cancel", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVote", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReason", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParams", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParamsBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "getActions", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getReceipt", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "voter", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct IGovernorCompatibilityBravo.Receipt", - "components": [ - { - "name": "hasVoted", - "type": "bool", - "internalType": "bool" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "votes", - "type": "uint96", - "internalType": "uint96" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotesWithParams", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hasVoted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashProposal", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "onERC1155BatchReceived", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC1155Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC721Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "proposalDeadline", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalEta", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalSnapshot", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalThreshold", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposals", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "internalType": "address" - }, - { - "name": "eta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "startBlock", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "forVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "againstVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "abstainVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "canceled", - "type": "bool", - "internalType": "bool" - }, - { - "name": "executed", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "queue", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "queue", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "quorum", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "quorumVotes", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "relay", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "state", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum IGovernor.ProposalState" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "timelock", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingPeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "ProposalCanceled", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalCreated", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "targets", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "indexed": false, - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "indexed": false, - "internalType": "bytes[]" - }, - { - "name": "startBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "description", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalExecuted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalQueued", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "eta", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCast", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCastWithParams", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "Empty", - "inputs": [] - } -] diff --git a/abis/GovernorTimelockControl_abi.json b/abis/GovernorTimelockControl_abi.json deleted file mode 100644 index ca579a9..0000000 --- a/abis/GovernorTimelockControl_abi.json +++ /dev/null @@ -1,983 +0,0 @@ -[ - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "COUNTING_MODE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "EXTENDED_BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "castVote", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReason", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParams", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParamsBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotesWithParams", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hasVoted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashProposal", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "onERC1155BatchReceived", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC1155Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC721Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "proposalDeadline", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalEta", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalSnapshot", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalThreshold", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "queue", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "quorum", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "relay", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "state", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum IGovernor.ProposalState" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "timelock", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "updateTimelock", - "inputs": [ - { - "name": "newTimelock", - "type": "address", - "internalType": "contract TimelockController" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingPeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "ProposalCanceled", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalCreated", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "targets", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "indexed": false, - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "indexed": false, - "internalType": "bytes[]" - }, - { - "name": "startBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "description", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalExecuted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalQueued", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "eta", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TimelockChange", - "inputs": [ - { - "name": "oldTimelock", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "newTimelock", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCast", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCastWithParams", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "Empty", - "inputs": [] - } -] diff --git a/abis/GovernorVotesQuorumFraction_abi.json b/abis/GovernorVotesQuorumFraction_abi.json deleted file mode 100644 index a7fe7e0..0000000 --- a/abis/GovernorVotesQuorumFraction_abi.json +++ /dev/null @@ -1,956 +0,0 @@ -[ - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "COUNTING_MODE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "EXTENDED_BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "castVote", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReason", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParams", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParamsBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotesWithParams", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hasVoted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashProposal", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "onERC1155BatchReceived", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC1155Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC721Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "proposalDeadline", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalSnapshot", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalThreshold", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "quorum", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "quorumDenominator", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "quorumNumerator", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "quorumNumerator", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "relay", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "state", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum IGovernor.ProposalState" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IVotes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "updateQuorumNumerator", - "inputs": [ - { - "name": "newQuorumNumerator", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingPeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "ProposalCanceled", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalCreated", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "targets", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "indexed": false, - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "indexed": false, - "internalType": "bytes[]" - }, - { - "name": "startBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "description", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalExecuted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "QuorumNumeratorUpdated", - "inputs": [ - { - "name": "oldQuorumNumerator", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newQuorumNumerator", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCast", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCastWithParams", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "Empty", - "inputs": [] - } -] diff --git a/abis/GovernorVotes_abi.json b/abis/GovernorVotes_abi.json deleted file mode 100644 index c3ec95b..0000000 --- a/abis/GovernorVotes_abi.json +++ /dev/null @@ -1,879 +0,0 @@ -[ - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "COUNTING_MODE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "EXTENDED_BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "castVote", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReason", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParams", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParamsBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotesWithParams", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hasVoted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashProposal", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "onERC1155BatchReceived", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC1155Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC721Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "proposalDeadline", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalSnapshot", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalThreshold", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "quorum", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "relay", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "state", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum IGovernor.ProposalState" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IVotes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingPeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "ProposalCanceled", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalCreated", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "targets", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "indexed": false, - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "indexed": false, - "internalType": "bytes[]" - }, - { - "name": "startBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "description", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalExecuted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCast", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCastWithParams", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "Empty", - "inputs": [] - } -] diff --git a/abis/Governor_abi.json b/abis/Governor_abi.json deleted file mode 100644 index 7292cda..0000000 --- a/abis/Governor_abi.json +++ /dev/null @@ -1,866 +0,0 @@ -[ - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "COUNTING_MODE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "EXTENDED_BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "castVote", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReason", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParams", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParamsBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotesWithParams", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hasVoted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashProposal", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "onERC1155BatchReceived", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC1155Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC721Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "proposalDeadline", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalSnapshot", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalThreshold", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "quorum", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "relay", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "state", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum IGovernor.ProposalState" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingPeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "ProposalCanceled", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalCreated", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "targets", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "indexed": false, - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "indexed": false, - "internalType": "bytes[]" - }, - { - "name": "startBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "description", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalExecuted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCast", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCastWithParams", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "Empty", - "inputs": [] - } -] diff --git a/abis/GuardManager_abi.json b/abis/GuardManager_abi.json deleted file mode 100644 index 5515e58..0000000 --- a/abis/GuardManager_abi.json +++ /dev/null @@ -1,28 +0,0 @@ -[ - { - "type": "function", - "name": "setGuard", - "inputs": [ - { - "name": "guard", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "ChangedGuard", - "inputs": [ - { - "name": "guard", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/Guard_abi.json b/abis/Guard_abi.json deleted file mode 100644 index f02e99e..0000000 --- a/abis/Guard_abi.json +++ /dev/null @@ -1,83 +0,0 @@ -[ - { - "type": "function", - "name": "checkAfterExecution", - "inputs": [ - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "checkTransaction", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - }, - { - "name": "safeTxGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "baseGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasPrice", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasToken", - "type": "address", - "internalType": "address" - }, - { - "name": "refundReceiver", - "type": "address", - "internalType": "address payable" - }, - { - "name": "signatures", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "msgSender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/Guardable_abi.json b/abis/Guardable_abi.json deleted file mode 100644 index 7f3f70b..0000000 --- a/abis/Guardable_abi.json +++ /dev/null @@ -1,130 +0,0 @@ -[ - { - "type": "function", - "name": "getGuard", - "inputs": [], - "outputs": [ - { - "name": "_guard", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "guard", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setGuard", - "inputs": [ - { - "name": "_guard", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "ChangedGuard", - "inputs": [ - { - "name": "guard", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "NotIERC165Compliant", - "inputs": [ - { - "name": "guard_", - "type": "address", - "internalType": "address" - } - ] - } -] diff --git a/abis/HamzaGovernor_abi.json b/abis/HamzaGovernor_abi.json deleted file mode 100644 index 52ba0cc..0000000 --- a/abis/HamzaGovernor_abi.json +++ /dev/null @@ -1,1353 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "_token", - "type": "address", - "internalType": "contract IVotes" - }, - { - "name": "_timelock", - "type": "address", - "internalType": "contract TimelockController" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "COUNTING_MODE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "EXTENDED_BALLOT_TYPEHASH", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "cancel", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "cancel", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVote", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReason", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParams", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParamsBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "getActions", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getReceipt", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "voter", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct IGovernorCompatibilityBravo.Receipt", - "components": [ - { - "name": "hasVoted", - "type": "bool", - "internalType": "bool" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "votes", - "type": "uint96", - "internalType": "uint96" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotesWithParams", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hasVoted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashProposal", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "onERC1155BatchReceived", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC1155Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC721Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "proposalDeadline", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalEta", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalSnapshot", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalThreshold", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "proposals", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "internalType": "address" - }, - { - "name": "eta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "startBlock", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "forVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "againstVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "abstainVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "canceled", - "type": "bool", - "internalType": "bool" - }, - { - "name": "executed", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "queue", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "queue", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "quorum", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "quorumDenominator", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "quorumNumerator", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "quorumNumerator", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "quorumVotes", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "relay", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "state", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum IGovernor.ProposalState" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "timelock", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IVotes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "updateQuorumNumerator", - "inputs": [ - { - "name": "newQuorumNumerator", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "updateTimelock", - "inputs": [ - { - "name": "newTimelock", - "type": "address", - "internalType": "contract TimelockController" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "votingPeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "event", - "name": "ProposalCanceled", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalCreated", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "targets", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "indexed": false, - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "indexed": false, - "internalType": "bytes[]" - }, - { - "name": "startBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "description", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalExecuted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalQueued", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "eta", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "QuorumNumeratorUpdated", - "inputs": [ - { - "name": "oldQuorumNumerator", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newQuorumNumerator", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TimelockChange", - "inputs": [ - { - "name": "oldTimelock", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "newTimelock", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCast", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCastWithParams", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "Empty", - "inputs": [] - } -] diff --git a/abis/HasSecurityContext_abi.json b/abis/HasSecurityContext_abi.json deleted file mode 100644 index 4376977..0000000 --- a/abis/HasSecurityContext_abi.json +++ /dev/null @@ -1,68 +0,0 @@ -[ - { - "type": "function", - "name": "securityContext", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setSecurityContext", - "inputs": [ - { - "name": "_securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "SecurityContextSet", - "inputs": [ - { - "name": "caller", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "securityContext", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "UnauthorizedAccess", - "inputs": [ - { - "name": "roleId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "addr", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "ZeroAddressArgument", - "inputs": [] - } -] diff --git a/abis/HatsDeployment_abi.json b/abis/HatsDeployment_abi.json deleted file mode 100644 index 9df727c..0000000 --- a/abis/HatsDeployment_abi.json +++ /dev/null @@ -1,265 +0,0 @@ -[ - { - "type": "function", - "name": "IS_SCRIPT", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "adminAddress2", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "adminHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "arbiterHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "burnerHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "daoHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "deployedSafe", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "eligibilityModule", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract EligibilityModule" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hats", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract Hats" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "minterHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "pauserHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "run", - "inputs": [], - "outputs": [ - { - "name": "safeAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "hatsAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "eligibilityModuleAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "toggleModuleAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "securityContextAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "_adminHatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_arbiterHatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_daoHatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_systemHatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_pauserHatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_minterHatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_burnerHatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "securityContext", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract HatsSecurityContext" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "systemHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "toggleModule", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ToggleModule" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "topHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/HatsErrors_abi.json b/abis/HatsErrors_abi.json deleted file mode 100644 index 8ae1e41..0000000 --- a/abis/HatsErrors_abi.json +++ /dev/null @@ -1,141 +0,0 @@ -[ - { - "type": "error", - "name": "AllHatsWorn", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "AlreadyWearingHat", - "inputs": [ - { - "name": "wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "BatchArrayLengthMismatch", - "inputs": [] - }, - { - "type": "error", - "name": "CircularLinkage", - "inputs": [] - }, - { - "type": "error", - "name": "CrossTreeLinkage", - "inputs": [] - }, - { - "type": "error", - "name": "HatDoesNotExist", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "HatNotActive", - "inputs": [] - }, - { - "type": "error", - "name": "Immutable", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidHatId", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidUnlink", - "inputs": [] - }, - { - "type": "error", - "name": "LinkageNotRequested", - "inputs": [] - }, - { - "type": "error", - "name": "MaxLevelsReached", - "inputs": [] - }, - { - "type": "error", - "name": "NewMaxSupplyTooLow", - "inputs": [] - }, - { - "type": "error", - "name": "NotAdmin", - "inputs": [ - { - "name": "user", - "type": "address", - "internalType": "address" - }, - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "NotAdminOrWearer", - "inputs": [] - }, - { - "type": "error", - "name": "NotEligible", - "inputs": [] - }, - { - "type": "error", - "name": "NotHatWearer", - "inputs": [] - }, - { - "type": "error", - "name": "NotHatsEligibility", - "inputs": [] - }, - { - "type": "error", - "name": "NotHatsToggle", - "inputs": [] - }, - { - "type": "error", - "name": "StringTooLong", - "inputs": [] - }, - { - "type": "error", - "name": "ZeroAddress", - "inputs": [] - } -] diff --git a/abis/HatsEvents_abi.json b/abis/HatsEvents_abi.json deleted file mode 100644 index b03db53..0000000 --- a/abis/HatsEvents_abi.json +++ /dev/null @@ -1,241 +0,0 @@ -[ - { - "type": "event", - "name": "HatCreated", - "inputs": [ - { - "name": "id", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "details", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "maxSupply", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "eligibility", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "toggle", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "mutable_", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "imageURI", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatDetailsChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newDetails", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatEligibilityChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newEligibility", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatImageURIChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newImageURI", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatMaxSupplyChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newMaxSupply", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatMutabilityChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatStatusChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newStatus", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatToggleChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newToggle", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TopHatLinkRequested", - "inputs": [ - { - "name": "domain", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "newAdmin", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TopHatLinked", - "inputs": [ - { - "name": "domain", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "newAdmin", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "WearerStandingChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "wearer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "wearerStanding", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - } -] diff --git a/abis/HatsIdUtilities_abi.json b/abis/HatsIdUtilities_abi.json deleted file mode 100644 index 8b9186c..0000000 --- a/abis/HatsIdUtilities_abi.json +++ /dev/null @@ -1,298 +0,0 @@ -[ - { - "type": "function", - "name": "buildHatId", - "inputs": [ - { - "name": "_admin", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newHat", - "type": "uint16", - "internalType": "uint16" - } - ], - "outputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "getAdminAtLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_level", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "admin", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getAdminAtLocalLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_level", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "admin", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "getHatLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "level", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getLocalHatLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "level", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "getTippyTopHatDomain", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "domain", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getTopHatDomain", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "domain", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "isLocalTopHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_isLocalTopHat", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "isTopHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_isTopHat", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isValidHatId", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "validHatId", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "linkedTreeAdmins", - "inputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "linkedTreeRequests", - "inputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "noCircularLinkage", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_linkedAdmin", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "notCircular", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "sameTippyTopHatDomain", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_newAdminHat", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "sameDomain", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "error", - "name": "MaxLevelsReached", - "inputs": [] - } -] diff --git a/abis/HatsSecurityContext_abi.json b/abis/HatsSecurityContext_abi.json deleted file mode 100644 index 6856e0b..0000000 --- a/abis/HatsSecurityContext_abi.json +++ /dev/null @@ -1,92 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "_hats", - "type": "address", - "internalType": "address" - }, - { - "name": "_adminHatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "hasRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hats", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract Hats" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "roleToHatId", - "inputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setRoleHat", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/Hats_abi.json b/abis/Hats_abi.json deleted file mode 100644 index e326f70..0000000 --- a/abis/Hats_abi.json +++ /dev/null @@ -1,1901 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "_name", - "type": "string", - "internalType": "string" - }, - { - "name": "_baseImageURI", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "approveLinkTopHatToTree", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_newAdminHat", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_eligibility", - "type": "address", - "internalType": "address" - }, - { - "name": "_toggle", - "type": "address", - "internalType": "address" - }, - { - "name": "_details", - "type": "string", - "internalType": "string" - }, - { - "name": "_imageURI", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "badStandings", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "_wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "balanceOfBatch", - "inputs": [ - { - "name": "_wearers", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_hatIds", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [ - { - "name": "balances", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "baseImageURI", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "batchCreateHats", - "inputs": [ - { - "name": "_admins", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "_details", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "_maxSupplies", - "type": "uint32[]", - "internalType": "uint32[]" - }, - { - "name": "_eligibilityModules", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_toggleModules", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_mutables", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "_imageURIs", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "batchMintHats", - "inputs": [ - { - "name": "_hatIds", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "_wearers", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "buildHatId", - "inputs": [ - { - "name": "_admin", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newHat", - "type": "uint16", - "internalType": "uint16" - } - ], - "outputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "changeHatDetails", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newDetails", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "changeHatEligibility", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newEligibility", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "changeHatImageURI", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newImageURI", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "changeHatMaxSupply", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newMaxSupply", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "changeHatToggle", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newToggle", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "checkHatStatus", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "toggled", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "checkHatWearerStatus", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_wearer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "updated", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createHat", - "inputs": [ - { - "name": "_admin", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_details", - "type": "string", - "internalType": "string" - }, - { - "name": "_maxSupply", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_eligibility", - "type": "address", - "internalType": "address" - }, - { - "name": "_toggle", - "type": "address", - "internalType": "address" - }, - { - "name": "_mutable", - "type": "bool", - "internalType": "bool" - }, - { - "name": "_imageURI", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "newHatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getAdminAtLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_level", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "admin", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getAdminAtLocalLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_level", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "admin", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "getHatEligibilityModule", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "eligibility", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getHatLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "level", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getHatMaxSupply", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "maxSupply", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getHatToggleModule", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "toggle", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getImageURIForHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_uri", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getLocalHatLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "level", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "getNextId", - "inputs": [ - { - "name": "_admin", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "nextId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getTippyTopHatDomain", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "domain", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getTopHatDomain", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "domain", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "hatSupply", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "supply", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isActive", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "active", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isAdminOfHat", - "inputs": [ - { - "name": "_user", - "type": "address", - "internalType": "address" - }, - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "isAdmin", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isApprovedForAll", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isEligible", - "inputs": [ - { - "name": "_wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "eligible", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isInGoodStanding", - "inputs": [ - { - "name": "_wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "standing", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isLocalTopHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_isLocalTopHat", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "isTopHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_isTopHat", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isValidHatId", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "validHatId", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "isWearerOfHat", - "inputs": [ - { - "name": "_user", - "type": "address", - "internalType": "address" - }, - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "isWearer", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lastTopHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "linkedTreeAdmins", - "inputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "linkedTreeRequests", - "inputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "makeHatImmutable", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mintHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_wearer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mintTopHat", - "inputs": [ - { - "name": "_target", - "type": "address", - "internalType": "address" - }, - { - "name": "_details", - "type": "string", - "internalType": "string" - }, - { - "name": "_imageURI", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "topHatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "multicall", - "inputs": [ - { - "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "noCircularLinkage", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_linkedAdmin", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "notCircular", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "relinkTopHatWithinTree", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_newAdminHat", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_eligibility", - "type": "address", - "internalType": "address" - }, - { - "name": "_toggle", - "type": "address", - "internalType": "address" - }, - { - "name": "_details", - "type": "string", - "internalType": "string" - }, - { - "name": "_imageURI", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "renounceHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "requestLinkTopHatToTree", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_requestedAdminHat", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "safeBatchTransferFrom", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "safeTransferFrom", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "sameTippyTopHatDomain", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_newAdminHat", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "sameDomain", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setApprovalForAll", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "setHatStatus", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newStatus", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "toggled", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setHatWearerStatus", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "_eligible", - "type": "bool", - "internalType": "bool" - }, - { - "name": "_standing", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "updated", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "transferHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unlinkTopHatFromTree", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_wearer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "uri", - "inputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_uri", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "viewHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "details", - "type": "string", - "internalType": "string" - }, - { - "name": "maxSupply", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "supply", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "eligibility", - "type": "address", - "internalType": "address" - }, - { - "name": "toggle", - "type": "address", - "internalType": "address" - }, - { - "name": "imageURI", - "type": "string", - "internalType": "string" - }, - { - "name": "lastHatId", - "type": "uint16", - "internalType": "uint16" - }, - { - "name": "mutable_", - "type": "bool", - "internalType": "bool" - }, - { - "name": "active", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "ApprovalForAll", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "approved", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatCreated", - "inputs": [ - { - "name": "id", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "details", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "maxSupply", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "eligibility", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "toggle", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "mutable_", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "imageURI", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatDetailsChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newDetails", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatEligibilityChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newEligibility", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatImageURIChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newImageURI", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatMaxSupplyChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newMaxSupply", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatMutabilityChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatStatusChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newStatus", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatToggleChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newToggle", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TopHatLinkRequested", - "inputs": [ - { - "name": "domain", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "newAdmin", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TopHatLinked", - "inputs": [ - { - "name": "domain", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "newAdmin", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TransferBatch", - "inputs": [ - { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "ids", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "amounts", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TransferSingle", - "inputs": [ - { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "id", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "URI", - "inputs": [ - { - "name": "value", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "WearerStandingChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "wearer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "wearerStanding", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "AllHatsWorn", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "AlreadyWearingHat", - "inputs": [ - { - "name": "wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "BatchArrayLengthMismatch", - "inputs": [] - }, - { - "type": "error", - "name": "CircularLinkage", - "inputs": [] - }, - { - "type": "error", - "name": "CrossTreeLinkage", - "inputs": [] - }, - { - "type": "error", - "name": "HatDoesNotExist", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "HatNotActive", - "inputs": [] - }, - { - "type": "error", - "name": "Immutable", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidHatId", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidUnlink", - "inputs": [] - }, - { - "type": "error", - "name": "LinkageNotRequested", - "inputs": [] - }, - { - "type": "error", - "name": "MaxLevelsReached", - "inputs": [] - }, - { - "type": "error", - "name": "MaxLevelsReached", - "inputs": [] - }, - { - "type": "error", - "name": "NewMaxSupplyTooLow", - "inputs": [] - }, - { - "type": "error", - "name": "NotAdmin", - "inputs": [ - { - "name": "user", - "type": "address", - "internalType": "address" - }, - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "NotAdminOrWearer", - "inputs": [] - }, - { - "type": "error", - "name": "NotEligible", - "inputs": [] - }, - { - "type": "error", - "name": "NotHatWearer", - "inputs": [] - }, - { - "type": "error", - "name": "NotHatsEligibility", - "inputs": [] - }, - { - "type": "error", - "name": "NotHatsToggle", - "inputs": [] - }, - { - "type": "error", - "name": "StringTooLong", - "inputs": [] - }, - { - "type": "error", - "name": "ZeroAddress", - "inputs": [] - } -] diff --git a/abis/IAccessControl_abi.json b/abis/IAccessControl_abi.json deleted file mode 100644 index 42cc26d..0000000 --- a/abis/IAccessControl_abi.json +++ /dev/null @@ -1,174 +0,0 @@ -[ - { - "type": "function", - "name": "getRoleAdmin", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "grantRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "hasRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "revokeRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "RoleAdminChanged", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "previousAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "newAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleGranted", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleRevoked", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/IAvatar_abi.json b/abis/IAvatar_abi.json deleted file mode 100644 index bc5e0fc..0000000 --- a/abis/IAvatar_abi.json +++ /dev/null @@ -1,206 +0,0 @@ -[ - { - "type": "function", - "name": "disableModule", - "inputs": [ - { - "name": "prevModule", - "type": "address", - "internalType": "address" - }, - { - "name": "module", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "enableModule", - "inputs": [ - { - "name": "module", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execTransactionFromModule", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execTransactionFromModuleReturnData", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getModulesPaginated", - "inputs": [ - { - "name": "start", - "type": "address", - "internalType": "address" - }, - { - "name": "pageSize", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "array", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "next", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isModuleEnabled", - "inputs": [ - { - "name": "module", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "DisabledModule", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "EnabledModule", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ExecutionFromModuleFailure", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ExecutionFromModuleSuccess", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/IBaalToken_abi.json b/abis/IBaalToken_abi.json deleted file mode 100644 index 534faf2..0000000 --- a/abis/IBaalToken_abi.json +++ /dev/null @@ -1,423 +0,0 @@ -[ - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "balanceOfAt", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "snapshotId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "burn", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "delegate", - "inputs": [ - { - "name": "delegatee", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "delegateBySig", - "inputs": [ - { - "name": "delegatee", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "expiry", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "delegates", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "delegationNonces", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getCheckpoint", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct IBaalToken.Checkpoint", - "components": [ - { - "name": "fromTimePoint", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "votes", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getCurrentSnapshotId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getPastVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "timePoint", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "mint", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "numCheckpoints", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "pause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "paused", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setUp", - "inputs": [ - { - "name": "_name", - "type": "string", - "internalType": "string" - }, - { - "name": "_symbol", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "snapshot", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupplyAt", - "inputs": [ - { - "name": "snapshotId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/IBeaconUpgradeable_abi.json b/abis/IBeaconUpgradeable_abi.json deleted file mode 100644 index 299c145..0000000 --- a/abis/IBeaconUpgradeable_abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "type": "function", - "name": "implementation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IBeacon_abi.json b/abis/IBeacon_abi.json deleted file mode 100644 index 299c145..0000000 --- a/abis/IBeacon_abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "type": "function", - "name": "implementation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/ICommunityRewardsCalculator_abi.json b/abis/ICommunityRewardsCalculator_abi.json deleted file mode 100644 index 3e6fae9..0000000 --- a/abis/ICommunityRewardsCalculator_abi.json +++ /dev/null @@ -1,31 +0,0 @@ -[ - { - "type": "function", - "name": "getRewardsToDistribute", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "address" - }, - { - "name": "recipients", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "purchaseTracker", - "type": "address", - "internalType": "contract IPurchaseTracker" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "nonpayable" - } -] diff --git a/abis/IERC1155Receiver_abi.json b/abis/IERC1155Receiver_abi.json deleted file mode 100644 index 67f34e2..0000000 --- a/abis/IERC1155Receiver_abi.json +++ /dev/null @@ -1,99 +0,0 @@ -[ - { - "type": "function", - "name": "onERC1155BatchReceived", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "ids", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC1155Received", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IERC165_abi.json b/abis/IERC165_abi.json deleted file mode 100644 index 7a66006..0000000 --- a/abis/IERC165_abi.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceID", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IERC1822ProxiableUpgradeable_abi.json b/abis/IERC1822ProxiableUpgradeable_abi.json deleted file mode 100644 index 2f9e2fd..0000000 --- a/abis/IERC1822ProxiableUpgradeable_abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "type": "function", - "name": "proxiableUUID", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IERC1822Proxiable_abi.json b/abis/IERC1822Proxiable_abi.json deleted file mode 100644 index 2f9e2fd..0000000 --- a/abis/IERC1822Proxiable_abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "type": "function", - "name": "proxiableUUID", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IERC1967Upgradeable_abi.json b/abis/IERC1967Upgradeable_abi.json deleted file mode 100644 index 50bc8bf..0000000 --- a/abis/IERC1967Upgradeable_abi.json +++ /dev/null @@ -1,47 +0,0 @@ -[ - { - "type": "event", - "name": "AdminChanged", - "inputs": [ - { - "name": "previousAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "newAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "BeaconUpgraded", - "inputs": [ - { - "name": "beacon", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Upgraded", - "inputs": [ - { - "name": "implementation", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/IERC1967_abi.json b/abis/IERC1967_abi.json deleted file mode 100644 index 50bc8bf..0000000 --- a/abis/IERC1967_abi.json +++ /dev/null @@ -1,47 +0,0 @@ -[ - { - "type": "event", - "name": "AdminChanged", - "inputs": [ - { - "name": "previousAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "newAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "BeaconUpgraded", - "inputs": [ - { - "name": "beacon", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Upgraded", - "inputs": [ - { - "name": "implementation", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/IERC20Metadata_abi.json b/abis/IERC20Metadata_abi.json deleted file mode 100644 index 2ec1d7c..0000000 --- a/abis/IERC20Metadata_abi.json +++ /dev/null @@ -1,224 +0,0 @@ -[ - { - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/IERC20Permit_abi.json b/abis/IERC20Permit_abi.json deleted file mode 100644 index 42565e0..0000000 --- a/abis/IERC20Permit_abi.json +++ /dev/null @@ -1,77 +0,0 @@ -[ - { - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "deadline", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/IERC20_abi.json b/abis/IERC20_abi.json deleted file mode 100644 index 72f2c96..0000000 --- a/abis/IERC20_abi.json +++ /dev/null @@ -1,185 +0,0 @@ -[ - { - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/IERC721Enumerable_abi.json b/abis/IERC721Enumerable_abi.json deleted file mode 100644 index 76dcb3d..0000000 --- a/abis/IERC721Enumerable_abi.json +++ /dev/null @@ -1,343 +0,0 @@ -[ - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "_approved", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "_owner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getApproved", - "inputs": [ - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isApprovedForAll", - "inputs": [ - { - "name": "_owner", - "type": "address", - "internalType": "address" - }, - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "ownerOf", - "inputs": [ - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safeTransferFrom", - "inputs": [ - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "safeTransferFrom", - "inputs": [ - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "setApprovalForAll", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - }, - { - "name": "_approved", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceID", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "tokenByIndex", - "inputs": [ - { - "name": "_index", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "tokenOfOwnerByIndex", - "inputs": [ - { - "name": "_owner", - "type": "address", - "internalType": "address" - }, - { - "name": "_index", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "_owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_approved", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ApprovalForAll", - "inputs": [ - { - "name": "_owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_approved", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "_from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/IERC721Metadata_abi.json b/abis/IERC721Metadata_abi.json deleted file mode 100644 index 922c336..0000000 --- a/abis/IERC721Metadata_abi.json +++ /dev/null @@ -1,332 +0,0 @@ -[ - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "_approved", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "_owner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getApproved", - "inputs": [ - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isApprovedForAll", - "inputs": [ - { - "name": "_owner", - "type": "address", - "internalType": "address" - }, - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "_name", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "ownerOf", - "inputs": [ - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safeTransferFrom", - "inputs": [ - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "safeTransferFrom", - "inputs": [ - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "setApprovalForAll", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - }, - { - "name": "_approved", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceID", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "_symbol", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "tokenURI", - "inputs": [ - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "_owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_approved", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ApprovalForAll", - "inputs": [ - { - "name": "_owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_approved", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "_from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/IERC721Receiver_abi.json b/abis/IERC721Receiver_abi.json deleted file mode 100644 index 0d8f149..0000000 --- a/abis/IERC721Receiver_abi.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "type": "function", - "name": "onERC721Received", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "tokenId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - } -] diff --git a/abis/IERC721TokenReceiver_abi.json b/abis/IERC721TokenReceiver_abi.json deleted file mode 100644 index 7e9fc44..0000000 --- a/abis/IERC721TokenReceiver_abi.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "type": "function", - "name": "onERC721Received", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - }, - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - } -] diff --git a/abis/IERC721_abi.json b/abis/IERC721_abi.json deleted file mode 100644 index 85bfab4..0000000 --- a/abis/IERC721_abi.json +++ /dev/null @@ -1,287 +0,0 @@ -[ - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "_approved", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "_owner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getApproved", - "inputs": [ - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isApprovedForAll", - "inputs": [ - { - "name": "_owner", - "type": "address", - "internalType": "address" - }, - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "ownerOf", - "inputs": [ - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safeTransferFrom", - "inputs": [ - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "safeTransferFrom", - "inputs": [ - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "setApprovalForAll", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - }, - { - "name": "_approved", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceID", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "_owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_approved", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ApprovalForAll", - "inputs": [ - { - "name": "_owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_approved", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "_from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/IEscrowContract_abi.json b/abis/IEscrowContract_abi.json deleted file mode 100644 index b682eca..0000000 --- a/abis/IEscrowContract_abi.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "type": "function", - "name": "placePayment", - "inputs": [ - { - "name": "payment", - "type": "tuple", - "internalType": "struct PaymentInput", - "components": [ - { - "name": "currency", - "type": "address", - "internalType": "address" - }, - { - "name": "id", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "receiver", - "type": "address", - "internalType": "address" - }, - { - "name": "payer", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "outputs": [], - "stateMutability": "payable" - } -] diff --git a/abis/IGnosisSafe_abi.json b/abis/IGnosisSafe_abi.json deleted file mode 100644 index dd61495..0000000 --- a/abis/IGnosisSafe_abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "type": "function", - "name": "nonce", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IGovernorCompatibilityBravo_abi.json b/abis/IGovernorCompatibilityBravo_abi.json deleted file mode 100644 index 5510afc..0000000 --- a/abis/IGovernorCompatibilityBravo_abi.json +++ /dev/null @@ -1,913 +0,0 @@ -[ - { - "type": "function", - "name": "COUNTING_MODE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "cancel", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVote", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReason", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParams", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParamsBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "getActions", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getReceipt", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "voter", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct IGovernorCompatibilityBravo.Receipt", - "components": [ - { - "name": "hasVoted", - "type": "bool", - "internalType": "bool" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "votes", - "type": "uint96", - "internalType": "uint96" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotesWithParams", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hasVoted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashProposal", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalDeadline", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalSnapshot", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposals", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "internalType": "address" - }, - { - "name": "eta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "startBlock", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "forVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "againstVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "abstainVotes", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "canceled", - "type": "bool", - "internalType": "bool" - }, - { - "name": "executed", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "queue", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "quorum", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "quorumVotes", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "state", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum IGovernor.ProposalState" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingPeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "ProposalCanceled", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalCreated", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "targets", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "indexed": false, - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "indexed": false, - "internalType": "bytes[]" - }, - { - "name": "startBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "description", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalExecuted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCast", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCastWithParams", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/IGovernorTimelock_abi.json b/abis/IGovernorTimelock_abi.json deleted file mode 100644 index d92b3f1..0000000 --- a/abis/IGovernorTimelock_abi.json +++ /dev/null @@ -1,768 +0,0 @@ -[ - { - "type": "function", - "name": "COUNTING_MODE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "castVote", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReason", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParams", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParamsBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotesWithParams", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hasVoted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashProposal", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalDeadline", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalEta", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalSnapshot", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "queue", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "quorum", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "state", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum IGovernor.ProposalState" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "timelock", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingPeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "ProposalCanceled", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalCreated", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "targets", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "indexed": false, - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "indexed": false, - "internalType": "bytes[]" - }, - { - "name": "startBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "description", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalExecuted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalQueued", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "eta", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCast", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCastWithParams", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/IGovernor_abi.json b/abis/IGovernor_abi.json deleted file mode 100644 index 3201b5a..0000000 --- a/abis/IGovernor_abi.json +++ /dev/null @@ -1,683 +0,0 @@ -[ - { - "type": "function", - "name": "COUNTING_MODE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "castVote", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReason", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParams", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "castVoteWithReasonAndParamsBySig", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotesWithParams", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "params", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hasVoted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashProposal", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "descriptionHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalDeadline", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proposalSnapshot", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "propose", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "description", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "quorum", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "state", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum IGovernor.ProposalState" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "version", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "votingPeriod", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "ProposalCanceled", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalCreated", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "proposer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "targets", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "signatures", - "type": "string[]", - "indexed": false, - "internalType": "string[]" - }, - { - "name": "calldatas", - "type": "bytes[]", - "indexed": false, - "internalType": "bytes[]" - }, - { - "name": "startBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "endBlock", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "description", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ProposalExecuted", - "inputs": [ - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCast", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VoteCastWithParams", - "inputs": [ - { - "name": "voter", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "proposalId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "support", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - }, - { - "name": "weight", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "reason", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "params", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/IGuard_abi.json b/abis/IGuard_abi.json deleted file mode 100644 index f02e99e..0000000 --- a/abis/IGuard_abi.json +++ /dev/null @@ -1,83 +0,0 @@ -[ - { - "type": "function", - "name": "checkAfterExecution", - "inputs": [ - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "checkTransaction", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - }, - { - "name": "safeTxGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "baseGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasPrice", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gasToken", - "type": "address", - "internalType": "address" - }, - { - "name": "refundReceiver", - "type": "address", - "internalType": "address payable" - }, - { - "name": "signatures", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "msgSender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/IHatsEligibility_abi.json b/abis/IHatsEligibility_abi.json deleted file mode 100644 index bf02a6a..0000000 --- a/abis/IHatsEligibility_abi.json +++ /dev/null @@ -1,31 +0,0 @@ -[ - { - "type": "function", - "name": "getWearerStatus", - "inputs": [ - { - "name": "_wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "eligible", - "type": "bool", - "internalType": "bool" - }, - { - "name": "standing", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IHatsIdUtilities_abi.json b/abis/IHatsIdUtilities_abi.json deleted file mode 100644 index 13a87fe..0000000 --- a/abis/IHatsIdUtilities_abi.json +++ /dev/null @@ -1,255 +0,0 @@ -[ - { - "type": "function", - "name": "buildHatId", - "inputs": [ - { - "name": "_admin", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newHat", - "type": "uint16", - "internalType": "uint16" - } - ], - "outputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "getAdminAtLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_level", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "admin", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getAdminAtLocalLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_level", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "admin", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "getHatLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "level", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getLocalHatLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "level", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "getTippyTopHatDomain", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "domain", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getTopHatDomain", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "domain", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isLocalTopHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_localTopHat", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "isTopHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_topHat", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isValidHatId", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "validHatId", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "noCircularLinkage", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_linkedAdmin", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "notCircular", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "sameTippyTopHatDomain", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_newAdminHat", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "sameDomain", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IHatsSecurityContext_abi.json b/abis/IHatsSecurityContext_abi.json deleted file mode 100644 index 0ebbd7a..0000000 --- a/abis/IHatsSecurityContext_abi.json +++ /dev/null @@ -1,58 +0,0 @@ -[ - { - "type": "function", - "name": "hasRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "hats", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract Hats" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "roleToHatId", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IHatsToggle_abi.json b/abis/IHatsToggle_abi.json deleted file mode 100644 index ba757a4..0000000 --- a/abis/IHatsToggle_abi.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - { - "type": "function", - "name": "getHatStatus", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IHats_abi.json b/abis/IHats_abi.json deleted file mode 100644 index 98c23f3..0000000 --- a/abis/IHats_abi.json +++ /dev/null @@ -1,1496 +0,0 @@ -[ - { - "type": "function", - "name": "approveLinkTopHatToTree", - "inputs": [ - { - "name": "_topHatId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_newAdminHat", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_eligibility", - "type": "address", - "internalType": "address" - }, - { - "name": "_toggle", - "type": "address", - "internalType": "address" - }, - { - "name": "_details", - "type": "string", - "internalType": "string" - }, - { - "name": "_imageURI", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "balanceOfBatch", - "inputs": [ - { - "name": "_wearers", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_hatIds", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "batchCreateHats", - "inputs": [ - { - "name": "_admins", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "_details", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "_maxSupplies", - "type": "uint32[]", - "internalType": "uint32[]" - }, - { - "name": "_eligibilityModules", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_toggleModules", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "_mutables", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "_imageURIs", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "batchMintHats", - "inputs": [ - { - "name": "_hatIds", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "_wearers", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "buildHatId", - "inputs": [ - { - "name": "_admin", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newHat", - "type": "uint16", - "internalType": "uint16" - } - ], - "outputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "changeHatDetails", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newDetails", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "changeHatEligibility", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newEligibility", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "changeHatImageURI", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newImageURI", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "changeHatMaxSupply", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newMaxSupply", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "changeHatToggle", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newToggle", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "checkHatStatus", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "toggled", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "checkHatWearerStatus", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_wearer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "updated", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createHat", - "inputs": [ - { - "name": "_admin", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_details", - "type": "string", - "internalType": "string" - }, - { - "name": "_maxSupply", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_eligibility", - "type": "address", - "internalType": "address" - }, - { - "name": "_toggle", - "type": "address", - "internalType": "address" - }, - { - "name": "_mutable", - "type": "bool", - "internalType": "bool" - }, - { - "name": "_imageURI", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "newHatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getAdminAtLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_level", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "admin", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getAdminAtLocalLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_level", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "admin", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "getHatEligibilityModule", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "eligibility", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getHatLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "level", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getHatMaxSupply", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "maxSupply", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getHatToggleModule", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "toggle", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getImageURIForHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_uri", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getLocalHatLevel", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "level", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "getNextId", - "inputs": [ - { - "name": "_admin", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "nextId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getTippyTopHatDomain", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "domain", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getTopHatDomain", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "domain", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hatSupply", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "supply", - "type": "uint32", - "internalType": "uint32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isAdminOfHat", - "inputs": [ - { - "name": "_user", - "type": "address", - "internalType": "address" - }, - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "isAdmin", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isEligible", - "inputs": [ - { - "name": "_wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "eligible", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isInGoodStanding", - "inputs": [ - { - "name": "_wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "standing", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isLocalTopHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_localTopHat", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "isTopHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_topHat", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isValidHatId", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "validHatId", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isWearerOfHat", - "inputs": [ - { - "name": "_user", - "type": "address", - "internalType": "address" - }, - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "isWearer", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "makeHatImmutable", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mintHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_wearer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mintTopHat", - "inputs": [ - { - "name": "_target", - "type": "address", - "internalType": "address" - }, - { - "name": "_details", - "type": "string", - "internalType": "string" - }, - { - "name": "_imageURI", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "topHatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "noCircularLinkage", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_linkedAdmin", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "notCircular", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "relinkTopHatWithinTree", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_newAdminHat", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_eligibility", - "type": "address", - "internalType": "address" - }, - { - "name": "_toggle", - "type": "address", - "internalType": "address" - }, - { - "name": "_details", - "type": "string", - "internalType": "string" - }, - { - "name": "_imageURI", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "renounceHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "requestLinkTopHatToTree", - "inputs": [ - { - "name": "_topHatId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_newAdminHat", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "sameTippyTopHatDomain", - "inputs": [ - { - "name": "_topHatDomain", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_newAdminHat", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "sameDomain", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setHatStatus", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_newStatus", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "toggled", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setHatWearerStatus", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "_eligible", - "type": "bool", - "internalType": "bool" - }, - { - "name": "_standing", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "updated", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_from", - "type": "address", - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unlinkTopHatFromTree", - "inputs": [ - { - "name": "_topHatId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_wearer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "uri", - "inputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "_uri", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "viewHat", - "inputs": [ - { - "name": "_hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "details", - "type": "string", - "internalType": "string" - }, - { - "name": "maxSupply", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "supply", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "eligibility", - "type": "address", - "internalType": "address" - }, - { - "name": "toggle", - "type": "address", - "internalType": "address" - }, - { - "name": "imageURI", - "type": "string", - "internalType": "string" - }, - { - "name": "lastHatId", - "type": "uint16", - "internalType": "uint16" - }, - { - "name": "mutable_", - "type": "bool", - "internalType": "bool" - }, - { - "name": "active", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "HatCreated", - "inputs": [ - { - "name": "id", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "details", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "maxSupply", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "eligibility", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "toggle", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "mutable_", - "type": "bool", - "indexed": false, - "internalType": "bool" - }, - { - "name": "imageURI", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatDetailsChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newDetails", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatEligibilityChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newEligibility", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatImageURIChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newImageURI", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatMaxSupplyChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newMaxSupply", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatMutabilityChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatStatusChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newStatus", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "HatToggleChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newToggle", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TopHatLinkRequested", - "inputs": [ - { - "name": "domain", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "newAdmin", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TopHatLinked", - "inputs": [ - { - "name": "domain", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "newAdmin", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "WearerStandingChanged", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "wearer", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "wearerStanding", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "AllHatsWorn", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "AlreadyWearingHat", - "inputs": [ - { - "name": "wearer", - "type": "address", - "internalType": "address" - }, - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "BatchArrayLengthMismatch", - "inputs": [] - }, - { - "type": "error", - "name": "CircularLinkage", - "inputs": [] - }, - { - "type": "error", - "name": "CrossTreeLinkage", - "inputs": [] - }, - { - "type": "error", - "name": "HatDoesNotExist", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "HatNotActive", - "inputs": [] - }, - { - "type": "error", - "name": "Immutable", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidHatId", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidUnlink", - "inputs": [] - }, - { - "type": "error", - "name": "LinkageNotRequested", - "inputs": [] - }, - { - "type": "error", - "name": "MaxLevelsReached", - "inputs": [] - }, - { - "type": "error", - "name": "NewMaxSupplyTooLow", - "inputs": [] - }, - { - "type": "error", - "name": "NotAdmin", - "inputs": [ - { - "name": "user", - "type": "address", - "internalType": "address" - }, - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "NotAdminOrWearer", - "inputs": [] - }, - { - "type": "error", - "name": "NotEligible", - "inputs": [] - }, - { - "type": "error", - "name": "NotHatWearer", - "inputs": [] - }, - { - "type": "error", - "name": "NotHatsEligibility", - "inputs": [] - }, - { - "type": "error", - "name": "NotHatsToggle", - "inputs": [] - }, - { - "type": "error", - "name": "StringTooLong", - "inputs": [] - }, - { - "type": "error", - "name": "ZeroAddress", - "inputs": [] - } -] diff --git a/abis/IMulticall3_abi.json b/abis/IMulticall3_abi.json deleted file mode 100644 index 1573ebd..0000000 --- a/abis/IMulticall3_abi.json +++ /dev/null @@ -1,440 +0,0 @@ -[ - { - "type": "function", - "name": "aggregate", - "inputs": [ - { - "name": "calls", - "type": "tuple[]", - "internalType": "struct IMulticall3.Call[]", - "components": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "outputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "returnData", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "aggregate3", - "inputs": [ - { - "name": "calls", - "type": "tuple[]", - "internalType": "struct IMulticall3.Call3[]", - "components": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "allowFailure", - "type": "bool", - "internalType": "bool" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "outputs": [ - { - "name": "returnData", - "type": "tuple[]", - "internalType": "struct IMulticall3.Result[]", - "components": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "aggregate3Value", - "inputs": [ - { - "name": "calls", - "type": "tuple[]", - "internalType": "struct IMulticall3.Call3Value[]", - "components": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "allowFailure", - "type": "bool", - "internalType": "bool" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "outputs": [ - { - "name": "returnData", - "type": "tuple[]", - "internalType": "struct IMulticall3.Result[]", - "components": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "blockAndAggregate", - "inputs": [ - { - "name": "calls", - "type": "tuple[]", - "internalType": "struct IMulticall3.Call[]", - "components": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "outputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "blockHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "returnData", - "type": "tuple[]", - "internalType": "struct IMulticall3.Result[]", - "components": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "getBasefee", - "inputs": [], - "outputs": [ - { - "name": "basefee", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBlockHash", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "blockHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBlockNumber", - "inputs": [], - "outputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getChainId", - "inputs": [], - "outputs": [ - { - "name": "chainid", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getCurrentBlockCoinbase", - "inputs": [], - "outputs": [ - { - "name": "coinbase", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getCurrentBlockDifficulty", - "inputs": [], - "outputs": [ - { - "name": "difficulty", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getCurrentBlockGasLimit", - "inputs": [], - "outputs": [ - { - "name": "gaslimit", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getCurrentBlockTimestamp", - "inputs": [], - "outputs": [ - { - "name": "timestamp", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getEthBalance", - "inputs": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "balance", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getLastBlockHash", - "inputs": [], - "outputs": [ - { - "name": "blockHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "tryAggregate", - "inputs": [ - { - "name": "requireSuccess", - "type": "bool", - "internalType": "bool" - }, - { - "name": "calls", - "type": "tuple[]", - "internalType": "struct IMulticall3.Call[]", - "components": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "outputs": [ - { - "name": "returnData", - "type": "tuple[]", - "internalType": "struct IMulticall3.Result[]", - "components": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "tryBlockAndAggregate", - "inputs": [ - { - "name": "requireSuccess", - "type": "bool", - "internalType": "bool" - }, - { - "name": "calls", - "type": "tuple[]", - "internalType": "struct IMulticall3.Call[]", - "components": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "outputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "blockHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "returnData", - "type": "tuple[]", - "internalType": "struct IMulticall3.Result[]", - "components": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "stateMutability": "payable" - } -] diff --git a/abis/IProxyCreationCallback_abi.json b/abis/IProxyCreationCallback_abi.json deleted file mode 100644 index d51b4ef..0000000 --- a/abis/IProxyCreationCallback_abi.json +++ /dev/null @@ -1,30 +0,0 @@ -[ - { - "type": "function", - "name": "proxyCreated", - "inputs": [ - { - "name": "proxy", - "type": "address", - "internalType": "contract GnosisSafeProxy" - }, - { - "name": "_singleton", - "type": "address", - "internalType": "address" - }, - { - "name": "initializer", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "saltNonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/IProxy_abi.json b/abis/IProxy_abi.json deleted file mode 100644 index 660552d..0000000 --- a/abis/IProxy_abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "type": "function", - "name": "masterCopy", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IPurchaseTracker_abi.json b/abis/IPurchaseTracker_abi.json deleted file mode 100644 index 7e0961a..0000000 --- a/abis/IPurchaseTracker_abi.json +++ /dev/null @@ -1,106 +0,0 @@ -[ - { - "type": "function", - "name": "getPurchaseAmount", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getPurchaseCount", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getSalesAmount", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getSalesCount", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "recordPurchase", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "seller", - "type": "address", - "internalType": "address" - }, - { - "name": "buyer", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/IRelayRecipient_abi.json b/abis/IRelayRecipient_abi.json deleted file mode 100644 index 4ba52da..0000000 --- a/abis/IRelayRecipient_abi.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "type": "function", - "name": "isTrustedForwarder", - "inputs": [ - { - "name": "forwarder", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "versionRecipient", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/ISecurityContext_abi.json b/abis/ISecurityContext_abi.json deleted file mode 100644 index 8d98c73..0000000 --- a/abis/ISecurityContext_abi.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "type": "function", - "name": "hasRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - } -] diff --git a/abis/ISignatureValidatorConstants_abi.json b/abis/ISignatureValidatorConstants_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/ISignatureValidatorConstants_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/ISignatureValidator_abi.json b/abis/ISignatureValidator_abi.json deleted file mode 100644 index 42c81c4..0000000 --- a/abis/ISignatureValidator_abi.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "type": "function", - "name": "isValidSignature", - "inputs": [ - { - "name": "_data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "_signature", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/ISystemSettings_abi.json b/abis/ISystemSettings_abi.json deleted file mode 100644 index fa53bb3..0000000 --- a/abis/ISystemSettings_abi.json +++ /dev/null @@ -1,28 +0,0 @@ -[ - { - "type": "function", - "name": "feeBps", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vaultAddress", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/IVotes_abi.json b/abis/IVotes_abi.json deleted file mode 100644 index bb9ad69..0000000 --- a/abis/IVotes_abi.json +++ /dev/null @@ -1,184 +0,0 @@ -[ - { - "type": "function", - "name": "delegate", - "inputs": [ - { - "name": "delegatee", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "delegateBySig", - "inputs": [ - { - "name": "delegatee", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "expiry", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "delegates", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getPastTotalSupply", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getPastVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getVotes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "DelegateChanged", - "inputs": [ - { - "name": "delegator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "fromDelegate", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "toDelegate", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DelegateVotesChanged", - "inputs": [ - { - "name": "delegate", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "previousBalance", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newBalance", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/Initializable_abi.json b/abis/Initializable_abi.json deleted file mode 100644 index ccf42b8..0000000 --- a/abis/Initializable_abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - } -] diff --git a/abis/LibString_abi.json b/abis/LibString_abi.json deleted file mode 100644 index 83fae88..0000000 --- a/abis/LibString_abi.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "type": "error", - "name": "HexLengthInsufficient", - "inputs": [] - } -] diff --git a/abis/MathUpgradeable_abi.json b/abis/MathUpgradeable_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/MathUpgradeable_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/Math_abi.json b/abis/Math_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/Math_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/MockERC20_abi.json b/abis/MockERC20_abi.json deleted file mode 100644 index 3f87326..0000000 --- a/abis/MockERC20_abi.json +++ /dev/null @@ -1,322 +0,0 @@ -[ - { - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "name_", - "type": "string", - "internalType": "string" - }, - { - "name": "symbol_", - "type": "string", - "internalType": "string" - }, - { - "name": "decimals_", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "deadline", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/MockERC721_abi.json b/abis/MockERC721_abi.json deleted file mode 100644 index 92f0ee5..0000000 --- a/abis/MockERC721_abi.json +++ /dev/null @@ -1,350 +0,0 @@ -[ - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getApproved", - "inputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "name_", - "type": "string", - "internalType": "string" - }, - { - "name": "symbol_", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "isApprovedForAll", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "ownerOf", - "inputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safeTransferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "safeTransferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "setApprovalForAll", - "inputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "approved", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "tokenURI", - "inputs": [ - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "_owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_approved", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ApprovalForAll", - "inputs": [ - { - "name": "_owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_approved", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "_from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "_tokenId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/ModuleManager_abi.json b/abis/ModuleManager_abi.json deleted file mode 100644 index bc5e0fc..0000000 --- a/abis/ModuleManager_abi.json +++ /dev/null @@ -1,206 +0,0 @@ -[ - { - "type": "function", - "name": "disableModule", - "inputs": [ - { - "name": "prevModule", - "type": "address", - "internalType": "address" - }, - { - "name": "module", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "enableModule", - "inputs": [ - { - "name": "module", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execTransactionFromModule", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execTransactionFromModuleReturnData", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "operation", - "type": "uint8", - "internalType": "enum Enum.Operation" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getModulesPaginated", - "inputs": [ - { - "name": "start", - "type": "address", - "internalType": "address" - }, - { - "name": "pageSize", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "array", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "next", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isModuleEnabled", - "inputs": [ - { - "name": "module", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "DisabledModule", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "EnabledModule", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ExecutionFromModuleFailure", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ExecutionFromModuleSuccess", - "inputs": [ - { - "name": "module", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/ModuleProxyFactory_abi.json b/abis/ModuleProxyFactory_abi.json deleted file mode 100644 index 24a06dd..0000000 --- a/abis/ModuleProxyFactory_abi.json +++ /dev/null @@ -1,88 +0,0 @@ -[ - { - "type": "function", - "name": "deployModule", - "inputs": [ - { - "name": "masterCopy", - "type": "address", - "internalType": "address" - }, - { - "name": "initializer", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "saltNonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "proxy", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "ModuleProxyCreation", - "inputs": [ - { - "name": "proxy", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "masterCopy", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "FailedInitialization", - "inputs": [] - }, - { - "type": "error", - "name": "TakenAddress", - "inputs": [ - { - "name": "address_", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "TargetHasNoCode", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "ZeroAddress", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - } - ] - } -] diff --git a/abis/Module_abi.json b/abis/Module_abi.json deleted file mode 100644 index 1226aa6..0000000 --- a/abis/Module_abi.json +++ /dev/null @@ -1,233 +0,0 @@ -[ - { - "type": "function", - "name": "avatar", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getGuard", - "inputs": [], - "outputs": [ - { - "name": "_guard", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "guard", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setAvatar", - "inputs": [ - { - "name": "_avatar", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setGuard", - "inputs": [ - { - "name": "_guard", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setTarget", - "inputs": [ - { - "name": "_target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setUp", - "inputs": [ - { - "name": "initializeParams", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "target", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "AvatarSet", - "inputs": [ - { - "name": "previousAvatar", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newAvatar", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ChangedGuard", - "inputs": [ - { - "name": "guard", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TargetSet", - "inputs": [ - { - "name": "previousTarget", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newTarget", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "NotIERC165Compliant", - "inputs": [ - { - "name": "guard_", - "type": "address", - "internalType": "address" - } - ] - } -] diff --git a/abis/Multicallable_abi.json b/abis/Multicallable_abi.json deleted file mode 100644 index 6642cda..0000000 --- a/abis/Multicallable_abi.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - { - "type": "function", - "name": "multicall", - "inputs": [ - { - "name": "data", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "payable" - } -] diff --git a/abis/OwnableUpgradeable_abi.json b/abis/OwnableUpgradeable_abi.json deleted file mode 100644 index 2e42ca0..0000000 --- a/abis/OwnableUpgradeable_abi.json +++ /dev/null @@ -1,67 +0,0 @@ -[ - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/OwnerManager_abi.json b/abis/OwnerManager_abi.json deleted file mode 100644 index 7dce495..0000000 --- a/abis/OwnerManager_abi.json +++ /dev/null @@ -1,163 +0,0 @@ -[ - { - "type": "function", - "name": "addOwnerWithThreshold", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "_threshold", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "changeThreshold", - "inputs": [ - { - "name": "_threshold", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getOwners", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getThreshold", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isOwner", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "removeOwner", - "inputs": [ - { - "name": "prevOwner", - "type": "address", - "internalType": "address" - }, - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "_threshold", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "swapOwner", - "inputs": [ - { - "name": "prevOwner", - "type": "address", - "internalType": "address" - }, - { - "name": "oldOwner", - "type": "address", - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "AddedOwner", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ChangedThreshold", - "inputs": [ - { - "name": "threshold", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RemovedOwner", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/PaymentEscrowAdmins_abi.json b/abis/PaymentEscrowAdmins_abi.json deleted file mode 100644 index 9795201..0000000 --- a/abis/PaymentEscrowAdmins_abi.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "type": "function", - "name": "PermissionRefund", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "PermissionRelease", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "appointedAdmins", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "grantAdminPermission", - "inputs": [ - { - "name": "admin", - "type": "address", - "internalType": "address" - }, - { - "name": "permission", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "hasAdminPermission", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "admin", - "type": "address", - "internalType": "address" - }, - { - "name": "permission", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "revokeAdminPermission", - "inputs": [ - { - "name": "admin", - "type": "address", - "internalType": "address" - }, - { - "name": "permission", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/PaymentEscrow_abi.json b/abis/PaymentEscrow_abi.json deleted file mode 100644 index ca493b1..0000000 --- a/abis/PaymentEscrow_abi.json +++ /dev/null @@ -1,665 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - }, - { - "name": "settings_", - "type": "address", - "internalType": "contract ISystemSettings" - }, - { - "name": "autoRelease", - "type": "bool", - "internalType": "bool" - }, - { - "name": "_purchaseTracker", - "type": "address", - "internalType": "contract IPurchaseTracker" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "PermissionRefund", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "PermissionRelease", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "appointedAdmins", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "autoReleaseFlag", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getPayment", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct Payment", - "components": [ - { - "name": "id", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "payer", - "type": "address", - "internalType": "address" - }, - { - "name": "receiver", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "amountRefunded", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "payerReleased", - "type": "bool", - "internalType": "bool" - }, - { - "name": "receiverReleased", - "type": "bool", - "internalType": "bool" - }, - { - "name": "released", - "type": "bool", - "internalType": "bool" - }, - { - "name": "currency", - "type": "address", - "internalType": "address" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "grantAdminPermission", - "inputs": [ - { - "name": "admin", - "type": "address", - "internalType": "address" - }, - { - "name": "permission", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "hasAdminPermission", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "admin", - "type": "address", - "internalType": "address" - }, - { - "name": "permission", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "pause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "paused", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "payments", - "inputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "id", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "payer", - "type": "address", - "internalType": "address" - }, - { - "name": "receiver", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "amountRefunded", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "payerReleased", - "type": "bool", - "internalType": "bool" - }, - { - "name": "receiverReleased", - "type": "bool", - "internalType": "bool" - }, - { - "name": "released", - "type": "bool", - "internalType": "bool" - }, - { - "name": "currency", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "placePayment", - "inputs": [ - { - "name": "paymentInput", - "type": "tuple", - "internalType": "struct PaymentInput", - "components": [ - { - "name": "currency", - "type": "address", - "internalType": "address" - }, - { - "name": "id", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "receiver", - "type": "address", - "internalType": "address" - }, - { - "name": "payer", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "purchaseTracker", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IPurchaseTracker" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "refundPayment", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "releaseEscrow", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "revokeAdminPermission", - "inputs": [ - { - "name": "admin", - "type": "address", - "internalType": "address" - }, - { - "name": "permission", - "type": "uint8", - "internalType": "uint8" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "securityContext", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setAutoReleaseFlag", - "inputs": [ - { - "name": "value", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setSecurityContext", - "inputs": [ - { - "name": "_securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "settings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ISystemSettings" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "unpause", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "EscrowReleased", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "fee", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "PaymentReceived", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "currency", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "PaymentRefunded", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "PaymentTransferFailed", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "currency", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "PaymentTransferred", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "currency", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ReleaseAssentGiven", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "assentingAddress", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "assentType", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SecurityContextSet", - "inputs": [ - { - "name": "caller", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "securityContext", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "PRBMath__MulDivOverflow", - "inputs": [ - { - "name": "x", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "y", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "denominator", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "UnauthorizedAccess", - "inputs": [ - { - "name": "roleId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "addr", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "ZeroAddressArgument", - "inputs": [] - } -] diff --git a/abis/Proxy_abi.json b/abis/Proxy_abi.json deleted file mode 100644 index c8642ce..0000000 --- a/abis/Proxy_abi.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "type": "fallback", - "stateMutability": "payable" - }, - { - "type": "receive", - "stateMutability": "payable" - } -] diff --git a/abis/PurchaseTracker_abi.json b/abis/PurchaseTracker_abi.json deleted file mode 100644 index e1c9b55..0000000 --- a/abis/PurchaseTracker_abi.json +++ /dev/null @@ -1,381 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - }, - { - "name": "_lootToken", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "authorizeEscrow", - "inputs": [ - { - "name": "escrow", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "authorizedEscrows", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "deauthorizeEscrow", - "inputs": [ - { - "name": "escrow", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getPurchaseAmount", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getPurchaseCount", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getSalesAmount", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getSalesCount", - "inputs": [ - { - "name": "recipient", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lootToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IERC20" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "purchases", - "inputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "seller", - "type": "address", - "internalType": "address" - }, - { - "name": "buyer", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "recorded", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "recordPurchase", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "seller", - "type": "address", - "internalType": "address" - }, - { - "name": "buyer", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "securityContext", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setSecurityContext", - "inputs": [ - { - "name": "_securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "totalPurchaseAmount", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalPurchaseCount", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSalesAmount", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalSalesCount", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "PurchaseRecorded", - "inputs": [ - { - "name": "paymentId", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "buyer", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SecurityContextSet", - "inputs": [ - { - "name": "caller", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "securityContext", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "UnauthorizedAccess", - "inputs": [ - { - "name": "roleId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "addr", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "ZeroAddressArgument", - "inputs": [] - } -] diff --git a/abis/RagequitTest_abi.json b/abis/RagequitTest_abi.json deleted file mode 100644 index 3a1ba0f..0000000 --- a/abis/RagequitTest_abi.json +++ /dev/null @@ -1,878 +0,0 @@ -[ - { - "type": "function", - "name": "IS_TEST", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "admin", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "adminHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "autoRelease", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "baal", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "communityVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "escrow", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeArtifacts", - "inputs": [], - "outputs": [ - { - "name": "excludedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeContracts", - "inputs": [], - "outputs": [ - { - "name": "excludedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSelectors", - "inputs": [], - "outputs": [ - { - "name": "excludedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSenders", - "inputs": [], - "outputs": [ - { - "name": "excludedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "failed", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "governor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hatsCtx", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialFeeBps", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lootToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "purchaseTracker", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safe", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "script", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract DeployHamzaVault" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setUp", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "systemSettings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifactSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifactSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzArtifactSelector[]", - "components": [ - { - "name": "artifact", - "type": "string", - "internalType": "string" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifacts", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetContracts", - "inputs": [], - "outputs": [ - { - "name": "targetedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetInterfaces", - "inputs": [], - "outputs": [ - { - "name": "targetedInterfaces_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzInterface[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "artifacts", - "type": "string[]", - "internalType": "string[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSenders", - "inputs": [], - "outputs": [ - { - "name": "targetedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "testRagequitWithCommunityVaultExclusion", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testRagequitWithEth", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testRagequitWithMajorityVaultOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testRagequitWithSharesAndLoot", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "timeLockDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "user", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "userLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vaultLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vestingPeriodFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "log", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_address", - "inputs": [ - { - "name": "", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes32", - "inputs": [ - { - "name": "", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_int", - "inputs": [ - { - "name": "", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_address", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes32", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_string", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_string", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_uint", - "inputs": [ - { - "name": "", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "logs", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/ReentrancyGuardUpgradeable_abi.json b/abis/ReentrancyGuardUpgradeable_abi.json deleted file mode 100644 index ccf42b8..0000000 --- a/abis/ReentrancyGuardUpgradeable_abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - } -] diff --git a/abis/Roles_abi.json b/abis/Roles_abi.json deleted file mode 100644 index 2f63290..0000000 --- a/abis/Roles_abi.json +++ /dev/null @@ -1,93 +0,0 @@ -[ - { - "type": "function", - "name": "ADMIN_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "ARBITER_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "BURNER_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "DAO_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "MINTER_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "PAUSER_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "SYSTEM_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/SafeCast_abi.json b/abis/SafeCast_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/SafeCast_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/SafeERC20_abi.json b/abis/SafeERC20_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/SafeERC20_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/SafeTransactionHelper_abi.json b/abis/SafeTransactionHelper_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/SafeTransactionHelper_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/ScriptBase_abi.json b/abis/ScriptBase_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/ScriptBase_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/Script_abi.json b/abis/Script_abi.json deleted file mode 100644 index 7d40db2..0000000 --- a/abis/Script_abi.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "type": "function", - "name": "IS_SCRIPT", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/SecuredTokenTransfer_abi.json b/abis/SecuredTokenTransfer_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/SecuredTokenTransfer_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/SelfAuthorized_abi.json b/abis/SelfAuthorized_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/SelfAuthorized_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/SignatureDecoder_abi.json b/abis/SignatureDecoder_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/SignatureDecoder_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/Singleton_abi.json b/abis/Singleton_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/Singleton_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/StdAssertions_abi.json b/abis/StdAssertions_abi.json deleted file mode 100644 index 1ac45e1..0000000 --- a/abis/StdAssertions_abi.json +++ /dev/null @@ -1,379 +0,0 @@ -[ - { - "type": "function", - "name": "failed", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "log", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_address", - "inputs": [ - { - "name": "", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes32", - "inputs": [ - { - "name": "", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_int", - "inputs": [ - { - "name": "", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_address", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes32", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_string", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_string", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_uint", - "inputs": [ - { - "name": "", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "logs", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/StdChains_abi.json b/abis/StdChains_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/StdChains_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/StdCheatsSafe_abi.json b/abis/StdCheatsSafe_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/StdCheatsSafe_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/StdCheats_abi.json b/abis/StdCheats_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/StdCheats_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/StdInvariant_abi.json b/abis/StdInvariant_abi.json deleted file mode 100644 index b75b924..0000000 --- a/abis/StdInvariant_abi.json +++ /dev/null @@ -1,180 +0,0 @@ -[ - { - "type": "function", - "name": "excludeArtifacts", - "inputs": [], - "outputs": [ - { - "name": "excludedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeContracts", - "inputs": [], - "outputs": [ - { - "name": "excludedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSelectors", - "inputs": [], - "outputs": [ - { - "name": "excludedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSenders", - "inputs": [], - "outputs": [ - { - "name": "excludedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifactSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifactSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzArtifactSelector[]", - "components": [ - { - "name": "artifact", - "type": "string", - "internalType": "string" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifacts", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetContracts", - "inputs": [], - "outputs": [ - { - "name": "targetedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetInterfaces", - "inputs": [], - "outputs": [ - { - "name": "targetedInterfaces_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzInterface[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "artifacts", - "type": "string[]", - "internalType": "string[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSenders", - "inputs": [], - "outputs": [ - { - "name": "targetedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/StdStyle_abi.json b/abis/StdStyle_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/StdStyle_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/StdUtils_abi.json b/abis/StdUtils_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/StdUtils_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/StorageAccessible_abi.json b/abis/StorageAccessible_abi.json deleted file mode 100644 index 0e2876e..0000000 --- a/abis/StorageAccessible_abi.json +++ /dev/null @@ -1,44 +0,0 @@ -[ - { - "type": "function", - "name": "getStorageAt", - "inputs": [ - { - "name": "offset", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "length", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "simulateAndRevert", - "inputs": [ - { - "name": "targetContract", - "type": "address", - "internalType": "address" - }, - { - "name": "calldataPayload", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/StorageSlotUpgradeable_abi.json b/abis/StorageSlotUpgradeable_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/StorageSlotUpgradeable_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/StorageSlot_abi.json b/abis/StorageSlot_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/StorageSlot_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/StringsUpgradeable_abi.json b/abis/StringsUpgradeable_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/StringsUpgradeable_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/Strings_abi.json b/abis/Strings_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/Strings_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/SystemSettings_abi.json b/abis/SystemSettings_abi.json deleted file mode 100644 index bd82a65..0000000 --- a/abis/SystemSettings_abi.json +++ /dev/null @@ -1,179 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - }, - { - "name": "vaultAddress_", - "type": "address", - "internalType": "address" - }, - { - "name": "feeBps_", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "feeBps", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "securityContext", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setFeeBps", - "inputs": [ - { - "name": "feeBps_", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setSecurityContext", - "inputs": [ - { - "name": "_securityContext", - "type": "address", - "internalType": "contract ISecurityContext" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setVaultAddress", - "inputs": [ - { - "name": "vaultAddress_", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "vaultAddress", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "FeeBpsChanged", - "inputs": [ - { - "name": "newValue", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "changedBy", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SecurityContextSet", - "inputs": [ - { - "name": "caller", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "securityContext", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "VaultAddressChanged", - "inputs": [ - { - "name": "newAddress", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "changedBy", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "error", - "name": "UnauthorizedAccess", - "inputs": [ - { - "name": "roleId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "addr", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "ZeroAddressArgument", - "inputs": [] - } -] diff --git a/abis/TestBase_abi.json b/abis/TestBase_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/TestBase_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/TestCommunityVault_abi.json b/abis/TestCommunityVault_abi.json deleted file mode 100644 index 22d2fbb..0000000 --- a/abis/TestCommunityVault_abi.json +++ /dev/null @@ -1,1132 +0,0 @@ -[ - { - "type": "function", - "name": "IS_TEST", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "admin", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "adminHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "autoRelease", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "baal", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "communityVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "escrow", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeArtifacts", - "inputs": [], - "outputs": [ - { - "name": "excludedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeContracts", - "inputs": [], - "outputs": [ - { - "name": "excludedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSelectors", - "inputs": [], - "outputs": [ - { - "name": "excludedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSenders", - "inputs": [], - "outputs": [ - { - "name": "excludedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "failed", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "governor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hatsCtx", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialFeeBps", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lootToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "purchaseTracker", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safe", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "script", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract DeployHamzaVault" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setUp", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "systemSettings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifactSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifactSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzArtifactSelector[]", - "components": [ - { - "name": "artifact", - "type": "string", - "internalType": "string" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifacts", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetContracts", - "inputs": [], - "outputs": [ - { - "name": "targetedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetInterfaces", - "inputs": [], - "outputs": [ - { - "name": "targetedInterfaces_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzInterface[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "artifacts", - "type": "string[]", - "internalType": "string[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSenders", - "inputs": [], - "outputs": [ - { - "name": "targetedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "testDepositEmitsEvent", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDepositIncorrectAmount", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDepositOverLimit", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDepositTransfersEth", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDepositTransfersTokens", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDistributeEmitsEvent", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDistributeInsufficientBalance", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDistributeMismatchedArraysError", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDistributeRestricted", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDistributeRewards", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDistributeRewardsForBuyer", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDistributeRewardsForSeller", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testGetCorrectBalance", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testSetCommunityRewardsCalculator", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testSetCommunityRewardsCalculatorRestricted", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testSetGovernanceVault", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testSetGovernanceVaultAddressZero", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testSetGovernanceVaultRestricted", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testSetPurchaseTracker", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testSetPurchaseTrackerAddressZero", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testSetPurchaseTrackerRestricted", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testWithdrawEmitsEvent", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testWithdrawInsufficientBalanceError", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testWithdrawOverLimit", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testWithdrawRestricted", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testWithdrawTransfersTokens", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "timeLockDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "user", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "userLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vaultLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vestingPeriodFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "Deposit", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Distribute", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "SlotFound", - "inputs": [ - { - "name": "who", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "fsig", - "type": "bytes4", - "indexed": false, - "internalType": "bytes4" - }, - { - "name": "keysHash", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "slot", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "WARNING_UninitedSlot", - "inputs": [ - { - "name": "who", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "slot", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_address", - "inputs": [ - { - "name": "", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes32", - "inputs": [ - { - "name": "", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_int", - "inputs": [ - { - "name": "", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_address", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes32", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_string", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_string", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_uint", - "inputs": [ - { - "name": "", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "logs", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/TestPaymentAndTracker_abi.json b/abis/TestPaymentAndTracker_abi.json deleted file mode 100644 index 7066110..0000000 --- a/abis/TestPaymentAndTracker_abi.json +++ /dev/null @@ -1,949 +0,0 @@ -[ - { - "type": "function", - "name": "IS_TEST", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "admin", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "adminHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "autoRelease", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "baal", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "communityVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "escrow", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeArtifacts", - "inputs": [], - "outputs": [ - { - "name": "excludedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeContracts", - "inputs": [], - "outputs": [ - { - "name": "excludedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSelectors", - "inputs": [], - "outputs": [ - { - "name": "excludedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSenders", - "inputs": [], - "outputs": [ - { - "name": "excludedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "failed", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "governor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hatsCtx", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialFeeBps", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lootToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "purchaseTracker", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safe", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "script", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract DeployHamzaVault" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setUp", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "systemSettings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifactSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifactSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzArtifactSelector[]", - "components": [ - { - "name": "artifact", - "type": "string", - "internalType": "string" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifacts", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetContracts", - "inputs": [], - "outputs": [ - { - "name": "targetedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetInterfaces", - "inputs": [], - "outputs": [ - { - "name": "targetedInterfaces_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzInterface[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "artifacts", - "type": "string[]", - "internalType": "string[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSenders", - "inputs": [], - "outputs": [ - { - "name": "targetedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "testFullReleaseRecordsPurchase", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testFullReleaseRecordsPurchaseMultipleEscrows", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testFullReleaseRecordsPurchaseMultiplePayments", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testPartialRefundThenRelease", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testTestAbilityToAuthorizeEscrow", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testTestAbilityToDeauthorizeEscrow", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testUnauthorizedEscrow", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "timeLockDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "user", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "userLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vaultLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vestingPeriodFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "SlotFound", - "inputs": [ - { - "name": "who", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "fsig", - "type": "bytes4", - "indexed": false, - "internalType": "bytes4" - }, - { - "name": "keysHash", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "slot", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "WARNING_UninitedSlot", - "inputs": [ - { - "name": "who", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "slot", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_address", - "inputs": [ - { - "name": "", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes32", - "inputs": [ - { - "name": "", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_int", - "inputs": [ - { - "name": "", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_address", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes32", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_string", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_string", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_uint", - "inputs": [ - { - "name": "", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "logs", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/TestToken_abi.json b/abis/TestToken_abi.json deleted file mode 100644 index 4796754..0000000 --- a/abis/TestToken_abi.json +++ /dev/null @@ -1,313 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "name_", - "type": "string", - "internalType": "string" - }, - { - "name": "symbol_", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "uint8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "subtractedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "addedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mint", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "test", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Transfer", - "inputs": [ - { - "name": "from", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/Test_abi.json b/abis/Test_abi.json deleted file mode 100644 index 00eede4..0000000 --- a/abis/Test_abi.json +++ /dev/null @@ -1,570 +0,0 @@ -[ - { - "type": "function", - "name": "IS_TEST", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeArtifacts", - "inputs": [], - "outputs": [ - { - "name": "excludedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeContracts", - "inputs": [], - "outputs": [ - { - "name": "excludedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSelectors", - "inputs": [], - "outputs": [ - { - "name": "excludedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSenders", - "inputs": [], - "outputs": [ - { - "name": "excludedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "failed", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifactSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifactSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzArtifactSelector[]", - "components": [ - { - "name": "artifact", - "type": "string", - "internalType": "string" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifacts", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetContracts", - "inputs": [], - "outputs": [ - { - "name": "targetedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetInterfaces", - "inputs": [], - "outputs": [ - { - "name": "targetedInterfaces_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzInterface[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "artifacts", - "type": "string[]", - "internalType": "string[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSenders", - "inputs": [], - "outputs": [ - { - "name": "targetedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "log", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_address", - "inputs": [ - { - "name": "", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes32", - "inputs": [ - { - "name": "", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_int", - "inputs": [ - { - "name": "", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_address", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes32", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_string", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_string", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_uint", - "inputs": [ - { - "name": "", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "logs", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/TimelockController_abi.json b/abis/TimelockController_abi.json deleted file mode 100644 index 1c43e95..0000000 --- a/abis/TimelockController_abi.json +++ /dev/null @@ -1,872 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "minDelay", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "proposers", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "executors", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "admin", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "receive", - "stateMutability": "payable" - }, - { - "type": "function", - "name": "CANCELLER_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "DEFAULT_ADMIN_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "EXECUTOR_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "PROPOSER_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "TIMELOCK_ADMIN_ROLE", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "cancel", - "inputs": [ - { - "name": "id", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "execute", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "payload", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "predecessor", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "salt", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "executeBatch", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "payloads", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "predecessor", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "salt", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "getMinDelay", - "inputs": [], - "outputs": [ - { - "name": "duration", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getRoleAdmin", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getTimestamp", - "inputs": [ - { - "name": "id", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "timestamp", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "grantRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "hasRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hashOperation", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "predecessor", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "salt", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "hash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "hashOperationBatch", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "payloads", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "predecessor", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "salt", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "hash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "isOperation", - "inputs": [ - { - "name": "id", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "registered", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isOperationDone", - "inputs": [ - { - "name": "id", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "done", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isOperationPending", - "inputs": [ - { - "name": "id", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "pending", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isOperationReady", - "inputs": [ - { - "name": "id", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "ready", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "onERC1155BatchReceived", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC1155Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "onERC721Received", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "renounceRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "revokeRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "schedule", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "predecessor", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "salt", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "delay", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "scheduleBatch", - "inputs": [ - { - "name": "targets", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "payloads", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "predecessor", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "salt", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "delay", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "updateDelay", - "inputs": [ - { - "name": "newDelay", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "CallExecuted", - "inputs": [ - { - "name": "id", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "index", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "target", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "CallScheduled", - "inputs": [ - { - "name": "id", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "index", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "target", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - }, - { - "name": "predecessor", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "delay", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Cancelled", - "inputs": [ - { - "name": "id", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "MinDelayChange", - "inputs": [ - { - "name": "oldDuration", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "newDuration", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleAdminChanged", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "previousAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "newAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleGranted", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleRevoked", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/Timers_abi.json b/abis/Timers_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/Timers_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/ToggleModule_abi.json b/abis/ToggleModule_abi.json deleted file mode 100644 index f547f7c..0000000 --- a/abis/ToggleModule_abi.json +++ /dev/null @@ -1,114 +0,0 @@ -[ - { - "type": "constructor", - "inputs": [ - { - "name": "_admin", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "admin", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getHatStatus", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "status", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hatActive", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setHatStatus", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_active", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferAdmin", - "inputs": [ - { - "name": "newAdmin", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "event", - "name": "HatToggled", - "inputs": [ - { - "name": "hatId", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - }, - { - "name": "newStatus", - "type": "bool", - "indexed": false, - "internalType": "bool" - } - ], - "anonymous": false - } -] diff --git a/abis/UUPSUpgradeable_abi.json b/abis/UUPSUpgradeable_abi.json deleted file mode 100644 index f498525..0000000 --- a/abis/UUPSUpgradeable_abi.json +++ /dev/null @@ -1,104 +0,0 @@ -[ - { - "type": "function", - "name": "proxiableUUID", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "upgradeTo", - "inputs": [ - { - "name": "newImplementation", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "upgradeToAndCall", - "inputs": [ - { - "name": "newImplementation", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "event", - "name": "AdminChanged", - "inputs": [ - { - "name": "previousAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "newAdmin", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "BeaconUpgraded", - "inputs": [ - { - "name": "beacon", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Upgraded", - "inputs": [ - { - "name": "implementation", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - } -] diff --git a/abis/VmSafe_abi.json b/abis/VmSafe_abi.json deleted file mode 100644 index 10d0f3a..0000000 --- a/abis/VmSafe_abi.json +++ /dev/null @@ -1,8530 +0,0 @@ -[ - { - "type": "function", - "name": "accesses", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "readSlots", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "writeSlots", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "addr", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "keyAddr", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbs", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbs", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbs", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbs", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbsDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbsDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbsDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbsDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRel", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRel", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRel", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRel", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRelDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRelDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRelDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRelDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "right", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "right", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "address", - "internalType": "address" - }, - { - "name": "right", - "type": "address", - "internalType": "address" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "string", - "internalType": "string" - }, - { - "name": "right", - "type": "string", - "internalType": "string" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "right", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "right", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bool", - "internalType": "bool" - }, - { - "name": "right", - "type": "bool", - "internalType": "bool" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "address", - "internalType": "address" - }, - { - "name": "right", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "right", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "right", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "right", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "right", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "right", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "right", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "right", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "right", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "right", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "right", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "right", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "right", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "right", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "string", - "internalType": "string" - }, - { - "name": "right", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "right", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bool", - "internalType": "bool" - }, - { - "name": "right", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEqDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEqDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEqDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEqDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertFalse", - "inputs": [ - { - "name": "condition", - "type": "bool", - "internalType": "bool" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertFalse", - "inputs": [ - { - "name": "condition", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGe", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGe", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGe", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGe", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGeDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGeDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGeDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGeDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGt", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGt", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGt", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGt", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGtDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGtDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGtDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGtDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLe", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLe", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLe", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLe", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLeDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLeDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLeDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLeDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLt", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLt", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLt", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLt", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLtDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLtDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLtDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLtDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "right", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "right", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bool", - "internalType": "bool" - }, - { - "name": "right", - "type": "bool", - "internalType": "bool" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "right", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bool", - "internalType": "bool" - }, - { - "name": "right", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "right", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "right", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "right", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "right", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "right", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "string", - "internalType": "string" - }, - { - "name": "right", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "right", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "string", - "internalType": "string" - }, - { - "name": "right", - "type": "string", - "internalType": "string" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "address", - "internalType": "address" - }, - { - "name": "right", - "type": "address", - "internalType": "address" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "right", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "right", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "right", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "address", - "internalType": "address" - }, - { - "name": "right", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "right", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "right", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "right", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "right", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "right", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "right", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEqDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEqDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEqDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEqDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertTrue", - "inputs": [ - { - "name": "condition", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertTrue", - "inputs": [ - { - "name": "condition", - "type": "bool", - "internalType": "bool" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assume", - "inputs": [ - { - "name": "condition", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assumeNoRevert", - "inputs": [], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "attachDelegation", - "inputs": [ - { - "name": "signedDelegation", - "type": "tuple", - "internalType": "struct VmSafe.SignedDelegation", - "components": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "nonce", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "implementation", - "type": "address", - "internalType": "address" - } - ] - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "breakpoint", - "inputs": [ - { - "name": "char", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "breakpoint", - "inputs": [ - { - "name": "char", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "broadcast", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "broadcast", - "inputs": [ - { - "name": "signer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "broadcast", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "broadcastRawTransaction", - "inputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "closeFile", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "computeCreate2Address", - "inputs": [ - { - "name": "salt", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "initCodeHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "computeCreate2Address", - "inputs": [ - { - "name": "salt", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "initCodeHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "deployer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "computeCreateAddress", - "inputs": [ - { - "name": "deployer", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "contains", - "inputs": [ - { - "name": "subject", - "type": "string", - "internalType": "string" - }, - { - "name": "search", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "copyFile", - "inputs": [ - { - "name": "from", - "type": "string", - "internalType": "string" - }, - { - "name": "to", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "copied", - "type": "uint64", - "internalType": "uint64" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "copyStorage", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "recursive", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createWallet", - "inputs": [ - { - "name": "walletLabel", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createWallet", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createWallet", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "walletLabel", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deployCode", - "inputs": [ - { - "name": "artifactPath", - "type": "string", - "internalType": "string" - }, - { - "name": "constructorArgs", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "deployedAddress", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deployCode", - "inputs": [ - { - "name": "artifactPath", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "deployedAddress", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deriveKey", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "derivationPath", - "type": "string", - "internalType": "string" - }, - { - "name": "index", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "language", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "deriveKey", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "index", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "language", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "deriveKey", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "index", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "deriveKey", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "derivationPath", - "type": "string", - "internalType": "string" - }, - { - "name": "index", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "ensNamehash", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "envAddress", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envAddress", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBool", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBool", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBytes", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBytes", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBytes32", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBytes32", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envExists", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envInt", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envInt", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "value", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "value", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [ - { - "name": "value", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envString", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envString", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envUint", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envUint", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "eth_getLogs", - "inputs": [ - { - "name": "fromBlock", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "toBlock", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "topics", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "logs", - "type": "tuple[]", - "internalType": "struct VmSafe.EthGetLogs[]", - "components": [ - { - "name": "emitter", - "type": "address", - "internalType": "address" - }, - { - "name": "topics", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "blockHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "blockNumber", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "transactionHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "transactionIndex", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "logIndex", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "removed", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "exists", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "ffi", - "inputs": [ - { - "name": "commandInput", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [ - { - "name": "result", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "fsMetadata", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "metadata", - "type": "tuple", - "internalType": "struct VmSafe.FsMetadata", - "components": [ - { - "name": "isDir", - "type": "bool", - "internalType": "bool" - }, - { - "name": "isSymlink", - "type": "bool", - "internalType": "bool" - }, - { - "name": "length", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "readOnly", - "type": "bool", - "internalType": "bool" - }, - { - "name": "modified", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "accessed", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "created", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getArtifactPathByCode", - "inputs": [ - { - "name": "code", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getArtifactPathByDeployedCode", - "inputs": [ - { - "name": "deployedCode", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBlobBaseFee", - "inputs": [], - "outputs": [ - { - "name": "blobBaseFee", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBlockNumber", - "inputs": [], - "outputs": [ - { - "name": "height", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBlockTimestamp", - "inputs": [], - "outputs": [ - { - "name": "timestamp", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBroadcast", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - }, - { - "name": "chainId", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "txType", - "type": "uint8", - "internalType": "enum VmSafe.BroadcastTxType" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct VmSafe.BroadcastTxSummary", - "components": [ - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "txType", - "type": "uint8", - "internalType": "enum VmSafe.BroadcastTxType" - }, - { - "name": "contractAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBroadcasts", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - }, - { - "name": "chainId", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple[]", - "internalType": "struct VmSafe.BroadcastTxSummary[]", - "components": [ - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "txType", - "type": "uint8", - "internalType": "enum VmSafe.BroadcastTxType" - }, - { - "name": "contractAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBroadcasts", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - }, - { - "name": "chainId", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "txType", - "type": "uint8", - "internalType": "enum VmSafe.BroadcastTxType" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple[]", - "internalType": "struct VmSafe.BroadcastTxSummary[]", - "components": [ - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "txType", - "type": "uint8", - "internalType": "enum VmSafe.BroadcastTxType" - }, - { - "name": "contractAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getCode", - "inputs": [ - { - "name": "artifactPath", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "creationBytecode", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getDeployedCode", - "inputs": [ - { - "name": "artifactPath", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "runtimeBytecode", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getDeployment", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - }, - { - "name": "chainId", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [ - { - "name": "deployedAddress", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getDeployment", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "deployedAddress", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getDeployments", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - }, - { - "name": "chainId", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [ - { - "name": "deployedAddresses", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getFoundryVersion", - "inputs": [], - "outputs": [ - { - "name": "version", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getLabel", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "currentLabel", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getMappingKeyAndParentOf", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "elementSlot", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "found", - "type": "bool", - "internalType": "bool" - }, - { - "name": "key", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "parent", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getMappingLength", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "mappingSlot", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "length", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getMappingSlotAt", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "mappingSlot", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "idx", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getNonce", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "nonce", - "type": "uint64", - "internalType": "uint64" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getNonce", - "inputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "outputs": [ - { - "name": "nonce", - "type": "uint64", - "internalType": "uint64" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getRecordedLogs", - "inputs": [], - "outputs": [ - { - "name": "logs", - "type": "tuple[]", - "internalType": "struct VmSafe.Log[]", - "components": [ - { - "name": "topics", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "emitter", - "type": "address", - "internalType": "address" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getStateDiff", - "inputs": [], - "outputs": [ - { - "name": "diff", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getStateDiffJson", - "inputs": [], - "outputs": [ - { - "name": "diff", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getWallets", - "inputs": [], - "outputs": [ - { - "name": "wallets", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "indexOf", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "isContext", - "inputs": [ - { - "name": "context", - "type": "uint8", - "internalType": "enum VmSafe.ForgeContext" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isFile", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "keyExists", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "keyExistsJson", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "keyExistsToml", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "label", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "newLabel", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "lastCallGas", - "inputs": [], - "outputs": [ - { - "name": "gas", - "type": "tuple", - "internalType": "struct VmSafe.Gas", - "components": [ - { - "name": "gasLimit", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "gasTotalUsed", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "gasMemoryUsed", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "gasRefunded", - "type": "int64", - "internalType": "int64" - }, - { - "name": "gasRemaining", - "type": "uint64", - "internalType": "uint64" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "load", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "slot", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "data", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "parseAddress", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseBool", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseBytes", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseBytes32", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseInt", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJson", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "abiEncodedData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJson", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "abiEncodedData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonAddress", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonAddressArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBool", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBoolArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBytes", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBytes32", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBytes32Array", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBytesArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonInt", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonIntArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonKeys", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "keys", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonString", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonStringArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonType", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonType", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonTypeArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonUint", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonUintArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseToml", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "abiEncodedData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseToml", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "abiEncodedData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlAddress", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlAddressArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBool", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBoolArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBytes", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBytes32", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBytes32Array", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBytesArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlInt", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlIntArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlKeys", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "keys", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlString", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlStringArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlType", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlType", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlTypeArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlUint", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlUintArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseUint", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "pauseGasMetering", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "pauseTracing", - "inputs": [], - "outputs": [], - "stateMutability": "view" - }, - { - "type": "function", - "name": "projectRoot", - "inputs": [], - "outputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "prompt", - "inputs": [ - { - "name": "promptText", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "promptAddress", - "inputs": [ - { - "name": "promptText", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "promptSecret", - "inputs": [ - { - "name": "promptText", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "promptSecretUint", - "inputs": [ - { - "name": "promptText", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "promptUint", - "inputs": [ - { - "name": "promptText", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "publicKeyP256", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "randomAddress", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "randomBool", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomBytes", - "inputs": [ - { - "name": "len", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomBytes4", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomBytes8", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes8", - "internalType": "bytes8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomInt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomInt", - "inputs": [ - { - "name": "bits", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomUint", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "randomUint", - "inputs": [ - { - "name": "bits", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomUint", - "inputs": [ - { - "name": "min", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "max", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "readDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "maxDepth", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [ - { - "name": "entries", - "type": "tuple[]", - "internalType": "struct VmSafe.DirEntry[]", - "components": [ - { - "name": "errorMessage", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "depth", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "isDir", - "type": "bool", - "internalType": "bool" - }, - { - "name": "isSymlink", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "maxDepth", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "followLinks", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "entries", - "type": "tuple[]", - "internalType": "struct VmSafe.DirEntry[]", - "components": [ - { - "name": "errorMessage", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "depth", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "isDir", - "type": "bool", - "internalType": "bool" - }, - { - "name": "isSymlink", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "entries", - "type": "tuple[]", - "internalType": "struct VmSafe.DirEntry[]", - "components": [ - { - "name": "errorMessage", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "depth", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "isDir", - "type": "bool", - "internalType": "bool" - }, - { - "name": "isSymlink", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readFile", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "data", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readFileBinary", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readLine", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "line", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readLink", - "inputs": [ - { - "name": "linkPath", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "targetPath", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "record", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "recordLogs", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rememberKey", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "keyAddr", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rememberKeys", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "derivationPath", - "type": "string", - "internalType": "string" - }, - { - "name": "count", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "keyAddrs", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rememberKeys", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "derivationPath", - "type": "string", - "internalType": "string" - }, - { - "name": "language", - "type": "string", - "internalType": "string" - }, - { - "name": "count", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "keyAddrs", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "removeDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "recursive", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "removeFile", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "replace", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - }, - { - "name": "from", - "type": "string", - "internalType": "string" - }, - { - "name": "to", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "output", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "resetGasMetering", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "resumeGasMetering", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "resumeTracing", - "inputs": [], - "outputs": [], - "stateMutability": "view" - }, - { - "type": "function", - "name": "rpc", - "inputs": [ - { - "name": "urlOrAlias", - "type": "string", - "internalType": "string" - }, - { - "name": "method", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rpc", - "inputs": [ - { - "name": "method", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rpcUrl", - "inputs": [ - { - "name": "rpcAlias", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "rpcUrlStructs", - "inputs": [], - "outputs": [ - { - "name": "urls", - "type": "tuple[]", - "internalType": "struct VmSafe.Rpc[]", - "components": [ - { - "name": "key", - "type": "string", - "internalType": "string" - }, - { - "name": "url", - "type": "string", - "internalType": "string" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "rpcUrls", - "inputs": [], - "outputs": [ - { - "name": "urls", - "type": "string[2][]", - "internalType": "string[2][]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "serializeAddress", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeAddress", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBool", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBool", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBytes", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBytes", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBytes32", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBytes32", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeInt", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeInt", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeJson", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeJsonType", - "inputs": [ - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "serializeJsonType", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeString", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeString", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeUint", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeUint", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeUintToHex", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setArbitraryStorage", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setEnv", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "sign", - "inputs": [ - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "sign", - "inputs": [ - { - "name": "signer", - "type": "address", - "internalType": "address" - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "sign", - "inputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "sign", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "signAndAttachDelegation", - "inputs": [ - { - "name": "implementation", - "type": "address", - "internalType": "address" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "signedDelegation", - "type": "tuple", - "internalType": "struct VmSafe.SignedDelegation", - "components": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "nonce", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "implementation", - "type": "address", - "internalType": "address" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "signCompact", - "inputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "vs", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "signCompact", - "inputs": [ - { - "name": "signer", - "type": "address", - "internalType": "address" - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "vs", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "signCompact", - "inputs": [ - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "vs", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "signCompact", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "vs", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "signDelegation", - "inputs": [ - { - "name": "implementation", - "type": "address", - "internalType": "address" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "signedDelegation", - "type": "tuple", - "internalType": "struct VmSafe.SignedDelegation", - "components": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "nonce", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "implementation", - "type": "address", - "internalType": "address" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "signP256", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "sleep", - "inputs": [ - { - "name": "duration", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "split", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - }, - { - "name": "delimiter", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "outputs", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "startBroadcast", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startBroadcast", - "inputs": [ - { - "name": "signer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startBroadcast", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startDebugTraceRecording", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startMappingRecording", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startStateDiffRecording", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopAndReturnDebugTraceRecording", - "inputs": [], - "outputs": [ - { - "name": "step", - "type": "tuple[]", - "internalType": "struct VmSafe.DebugStep[]", - "components": [ - { - "name": "stack", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "memoryInput", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "opcode", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "depth", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "isOutOfGas", - "type": "bool", - "internalType": "bool" - }, - { - "name": "contractAddr", - "type": "address", - "internalType": "address" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopAndReturnStateDiff", - "inputs": [], - "outputs": [ - { - "name": "accountAccesses", - "type": "tuple[]", - "internalType": "struct VmSafe.AccountAccess[]", - "components": [ - { - "name": "chainInfo", - "type": "tuple", - "internalType": "struct VmSafe.ChainInfo", - "components": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "kind", - "type": "uint8", - "internalType": "enum VmSafe.AccountAccessKind" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "accessor", - "type": "address", - "internalType": "address" - }, - { - "name": "initialized", - "type": "bool", - "internalType": "bool" - }, - { - "name": "oldBalance", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "newBalance", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "deployedCode", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "reverted", - "type": "bool", - "internalType": "bool" - }, - { - "name": "storageAccesses", - "type": "tuple[]", - "internalType": "struct VmSafe.StorageAccess[]", - "components": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "slot", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "isWrite", - "type": "bool", - "internalType": "bool" - }, - { - "name": "previousValue", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "newValue", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "reverted", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "name": "depth", - "type": "uint64", - "internalType": "uint64" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopBroadcast", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopMappingRecording", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "toBase64", - "inputs": [ - { - "name": "data", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toBase64", - "inputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toBase64URL", - "inputs": [ - { - "name": "data", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toBase64URL", - "inputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toLowercase", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "output", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toUppercase", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "output", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "trim", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "output", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "tryFfi", - "inputs": [ - { - "name": "commandInput", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [ - { - "name": "result", - "type": "tuple", - "internalType": "struct VmSafe.FfiResult", - "components": [ - { - "name": "exitCode", - "type": "int32", - "internalType": "int32" - }, - { - "name": "stdout", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "stderr", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unixTime", - "inputs": [], - "outputs": [ - { - "name": "milliseconds", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "writeFile", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "data", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeFileBinary", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeJson", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeJson", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeLine", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "data", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeToml", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeToml", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/Vm_abi.json b/abis/Vm_abi.json deleted file mode 100644 index 1a4bddf..0000000 --- a/abis/Vm_abi.json +++ /dev/null @@ -1,10806 +0,0 @@ -[ - { - "type": "function", - "name": "accesses", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "readSlots", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "writeSlots", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "activeFork", - "inputs": [], - "outputs": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "addr", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "keyAddr", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "allowCheatcodes", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "assertApproxEqAbs", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbs", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbs", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbs", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbsDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbsDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbsDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqAbsDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRel", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRel", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRel", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRel", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRelDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRelDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRelDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertApproxEqRelDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "maxPercentDelta", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "right", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "right", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "address", - "internalType": "address" - }, - { - "name": "right", - "type": "address", - "internalType": "address" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "string", - "internalType": "string" - }, - { - "name": "right", - "type": "string", - "internalType": "string" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "right", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "right", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bool", - "internalType": "bool" - }, - { - "name": "right", - "type": "bool", - "internalType": "bool" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "address", - "internalType": "address" - }, - { - "name": "right", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "right", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "right", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "right", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "right", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "right", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "right", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "right", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "right", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "right", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "right", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "right", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "right", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "right", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "string", - "internalType": "string" - }, - { - "name": "right", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "right", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "bool", - "internalType": "bool" - }, - { - "name": "right", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEq", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEqDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEqDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEqDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertEqDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertFalse", - "inputs": [ - { - "name": "condition", - "type": "bool", - "internalType": "bool" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertFalse", - "inputs": [ - { - "name": "condition", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGe", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGe", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGe", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGe", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGeDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGeDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGeDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGeDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGt", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGt", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGt", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGt", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGtDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGtDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGtDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertGtDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLe", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLe", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLe", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLe", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLeDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLeDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLeDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLeDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLt", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLt", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLt", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLt", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLtDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLtDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLtDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertLtDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "right", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "right", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bool", - "internalType": "bool" - }, - { - "name": "right", - "type": "bool", - "internalType": "bool" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "right", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bool", - "internalType": "bool" - }, - { - "name": "right", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "right", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "right", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "right", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "right", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "right", - "type": "bool[]", - "internalType": "bool[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "string", - "internalType": "string" - }, - { - "name": "right", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "right", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "string", - "internalType": "string" - }, - { - "name": "right", - "type": "string", - "internalType": "string" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "address", - "internalType": "address" - }, - { - "name": "right", - "type": "address", - "internalType": "address" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "right", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "right", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "right", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "address", - "internalType": "address" - }, - { - "name": "right", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "right", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "right", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "right", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "string[]", - "internalType": "string[]" - }, - { - "name": "right", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "right", - "type": "int256[]", - "internalType": "int256[]" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "bytes[]", - "internalType": "bytes[]" - }, - { - "name": "right", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEq", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEqDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEqDecimal", - "inputs": [ - { - "name": "left", - "type": "int256", - "internalType": "int256" - }, - { - "name": "right", - "type": "int256", - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEqDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertNotEqDecimal", - "inputs": [ - { - "name": "left", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "right", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertTrue", - "inputs": [ - { - "name": "condition", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assertTrue", - "inputs": [ - { - "name": "condition", - "type": "bool", - "internalType": "bool" - }, - { - "name": "error", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assume", - "inputs": [ - { - "name": "condition", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "assumeNoRevert", - "inputs": [], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "attachDelegation", - "inputs": [ - { - "name": "signedDelegation", - "type": "tuple", - "internalType": "struct VmSafe.SignedDelegation", - "components": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "nonce", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "implementation", - "type": "address", - "internalType": "address" - } - ] - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "blobBaseFee", - "inputs": [ - { - "name": "newBlobBaseFee", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "blobhashes", - "inputs": [ - { - "name": "hashes", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "breakpoint", - "inputs": [ - { - "name": "char", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "breakpoint", - "inputs": [ - { - "name": "char", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "broadcast", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "broadcast", - "inputs": [ - { - "name": "signer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "broadcast", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "broadcastRawTransaction", - "inputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "chainId", - "inputs": [ - { - "name": "newChainId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "clearMockedCalls", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "cloneAccount", - "inputs": [ - { - "name": "source", - "type": "address", - "internalType": "address" - }, - { - "name": "target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "closeFile", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "coinbase", - "inputs": [ - { - "name": "newCoinbase", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "computeCreate2Address", - "inputs": [ - { - "name": "salt", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "initCodeHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "computeCreate2Address", - "inputs": [ - { - "name": "salt", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "initCodeHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "deployer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "computeCreateAddress", - "inputs": [ - { - "name": "deployer", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "contains", - "inputs": [ - { - "name": "subject", - "type": "string", - "internalType": "string" - }, - { - "name": "search", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "copyFile", - "inputs": [ - { - "name": "from", - "type": "string", - "internalType": "string" - }, - { - "name": "to", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "copied", - "type": "uint64", - "internalType": "uint64" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "copyStorage", - "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, - { - "name": "to", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "recursive", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createFork", - "inputs": [ - { - "name": "urlOrAlias", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createFork", - "inputs": [ - { - "name": "urlOrAlias", - "type": "string", - "internalType": "string" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createFork", - "inputs": [ - { - "name": "urlOrAlias", - "type": "string", - "internalType": "string" - }, - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createSelectFork", - "inputs": [ - { - "name": "urlOrAlias", - "type": "string", - "internalType": "string" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createSelectFork", - "inputs": [ - { - "name": "urlOrAlias", - "type": "string", - "internalType": "string" - }, - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createSelectFork", - "inputs": [ - { - "name": "urlOrAlias", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createWallet", - "inputs": [ - { - "name": "walletLabel", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createWallet", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "createWallet", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "walletLabel", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deal", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "newBalance", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deleteSnapshot", - "inputs": [ - { - "name": "snapshotId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deleteSnapshots", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deleteStateSnapshot", - "inputs": [ - { - "name": "snapshotId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deleteStateSnapshots", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deployCode", - "inputs": [ - { - "name": "artifactPath", - "type": "string", - "internalType": "string" - }, - { - "name": "constructorArgs", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "deployedAddress", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deployCode", - "inputs": [ - { - "name": "artifactPath", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "deployedAddress", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "deriveKey", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "derivationPath", - "type": "string", - "internalType": "string" - }, - { - "name": "index", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "language", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "deriveKey", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "index", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "language", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "deriveKey", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "index", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "deriveKey", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "derivationPath", - "type": "string", - "internalType": "string" - }, - { - "name": "index", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "difficulty", - "inputs": [ - { - "name": "newDifficulty", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "dumpState", - "inputs": [ - { - "name": "pathToStateJson", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "ensNamehash", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "envAddress", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envAddress", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBool", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBool", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBytes", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBytes", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBytes32", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envBytes32", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envExists", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envInt", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envInt", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "value", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "value", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [ - { - "name": "value", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envOr", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - }, - { - "name": "defaultValue", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "outputs": [ - { - "name": "value", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envString", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envString", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envUint", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "envUint", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "delim", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "value", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "etch", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "newRuntimeBytecode", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "eth_getLogs", - "inputs": [ - { - "name": "fromBlock", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "toBlock", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "topics", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "logs", - "type": "tuple[]", - "internalType": "struct VmSafe.EthGetLogs[]", - "components": [ - { - "name": "emitter", - "type": "address", - "internalType": "address" - }, - { - "name": "topics", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "blockHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "blockNumber", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "transactionHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "transactionIndex", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "logIndex", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "removed", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "exists", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "expectCall", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "msgValue", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gas", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectCall", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "msgValue", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "gas", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectCall", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "msgValue", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectCall", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectCall", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectCall", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "msgValue", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectCallMinGas", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "msgValue", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "minGas", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectCallMinGas", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "msgValue", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "minGas", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmit", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmit", - "inputs": [ - { - "name": "checkTopic1", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic2", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic3", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkData", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmit", - "inputs": [ - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmit", - "inputs": [ - { - "name": "checkTopic1", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic2", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic3", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkData", - "type": "bool", - "internalType": "bool" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmit", - "inputs": [ - { - "name": "checkTopic1", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic2", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic3", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkData", - "type": "bool", - "internalType": "bool" - }, - { - "name": "emitter", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmit", - "inputs": [ - { - "name": "emitter", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmit", - "inputs": [ - { - "name": "emitter", - "type": "address", - "internalType": "address" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmit", - "inputs": [ - { - "name": "checkTopic1", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic2", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic3", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkData", - "type": "bool", - "internalType": "bool" - }, - { - "name": "emitter", - "type": "address", - "internalType": "address" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmitAnonymous", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmitAnonymous", - "inputs": [ - { - "name": "emitter", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmitAnonymous", - "inputs": [ - { - "name": "checkTopic0", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic1", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic2", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic3", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkData", - "type": "bool", - "internalType": "bool" - }, - { - "name": "emitter", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectEmitAnonymous", - "inputs": [ - { - "name": "checkTopic0", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic1", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic2", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkTopic3", - "type": "bool", - "internalType": "bool" - }, - { - "name": "checkData", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectPartialRevert", - "inputs": [ - { - "name": "revertData", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectPartialRevert", - "inputs": [ - { - "name": "revertData", - "type": "bytes4", - "internalType": "bytes4" - }, - { - "name": "reverter", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [ - { - "name": "reverter", - "type": "address", - "internalType": "address" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [ - { - "name": "revertData", - "type": "bytes4", - "internalType": "bytes4" - }, - { - "name": "reverter", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [ - { - "name": "revertData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [ - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [ - { - "name": "revertData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "reverter", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [ - { - "name": "revertData", - "type": "bytes4", - "internalType": "bytes4" - }, - { - "name": "reverter", - "type": "address", - "internalType": "address" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [ - { - "name": "revertData", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [ - { - "name": "revertData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "reverter", - "type": "address", - "internalType": "address" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [ - { - "name": "reverter", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [ - { - "name": "revertData", - "type": "bytes4", - "internalType": "bytes4" - }, - { - "name": "count", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [ - { - "name": "revertData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectRevert", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectSafeMemory", - "inputs": [ - { - "name": "min", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "max", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "expectSafeMemoryCall", - "inputs": [ - { - "name": "min", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "max", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "fee", - "inputs": [ - { - "name": "newBasefee", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "ffi", - "inputs": [ - { - "name": "commandInput", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [ - { - "name": "result", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "fsMetadata", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "metadata", - "type": "tuple", - "internalType": "struct VmSafe.FsMetadata", - "components": [ - { - "name": "isDir", - "type": "bool", - "internalType": "bool" - }, - { - "name": "isSymlink", - "type": "bool", - "internalType": "bool" - }, - { - "name": "length", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "readOnly", - "type": "bool", - "internalType": "bool" - }, - { - "name": "modified", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "accessed", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "created", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getArtifactPathByCode", - "inputs": [ - { - "name": "code", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getArtifactPathByDeployedCode", - "inputs": [ - { - "name": "deployedCode", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBlobBaseFee", - "inputs": [], - "outputs": [ - { - "name": "blobBaseFee", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBlobhashes", - "inputs": [], - "outputs": [ - { - "name": "hashes", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBlockNumber", - "inputs": [], - "outputs": [ - { - "name": "height", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBlockTimestamp", - "inputs": [], - "outputs": [ - { - "name": "timestamp", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBroadcast", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - }, - { - "name": "chainId", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "txType", - "type": "uint8", - "internalType": "enum VmSafe.BroadcastTxType" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "internalType": "struct VmSafe.BroadcastTxSummary", - "components": [ - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "txType", - "type": "uint8", - "internalType": "enum VmSafe.BroadcastTxType" - }, - { - "name": "contractAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBroadcasts", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - }, - { - "name": "chainId", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple[]", - "internalType": "struct VmSafe.BroadcastTxSummary[]", - "components": [ - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "txType", - "type": "uint8", - "internalType": "enum VmSafe.BroadcastTxType" - }, - { - "name": "contractAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getBroadcasts", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - }, - { - "name": "chainId", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "txType", - "type": "uint8", - "internalType": "enum VmSafe.BroadcastTxType" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple[]", - "internalType": "struct VmSafe.BroadcastTxSummary[]", - "components": [ - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "txType", - "type": "uint8", - "internalType": "enum VmSafe.BroadcastTxType" - }, - { - "name": "contractAddress", - "type": "address", - "internalType": "address" - }, - { - "name": "blockNumber", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getCode", - "inputs": [ - { - "name": "artifactPath", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "creationBytecode", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getDeployedCode", - "inputs": [ - { - "name": "artifactPath", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "runtimeBytecode", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getDeployment", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - }, - { - "name": "chainId", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [ - { - "name": "deployedAddress", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getDeployment", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "deployedAddress", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getDeployments", - "inputs": [ - { - "name": "contractName", - "type": "string", - "internalType": "string" - }, - { - "name": "chainId", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [ - { - "name": "deployedAddresses", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getFoundryVersion", - "inputs": [], - "outputs": [ - { - "name": "version", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getLabel", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "currentLabel", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getMappingKeyAndParentOf", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "elementSlot", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "found", - "type": "bool", - "internalType": "bool" - }, - { - "name": "key", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "parent", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getMappingLength", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "mappingSlot", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "length", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getMappingSlotAt", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "mappingSlot", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "idx", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "value", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getNonce", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "nonce", - "type": "uint64", - "internalType": "uint64" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getNonce", - "inputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - } - ], - "outputs": [ - { - "name": "nonce", - "type": "uint64", - "internalType": "uint64" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getRecordedLogs", - "inputs": [], - "outputs": [ - { - "name": "logs", - "type": "tuple[]", - "internalType": "struct VmSafe.Log[]", - "components": [ - { - "name": "topics", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "emitter", - "type": "address", - "internalType": "address" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "getStateDiff", - "inputs": [], - "outputs": [ - { - "name": "diff", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getStateDiffJson", - "inputs": [], - "outputs": [ - { - "name": "diff", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getWallets", - "inputs": [], - "outputs": [ - { - "name": "wallets", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "indexOf", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "isContext", - "inputs": [ - { - "name": "context", - "type": "uint8", - "internalType": "enum VmSafe.ForgeContext" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isFile", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "result", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "isPersistent", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "persistent", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "keyExists", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "keyExistsJson", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "keyExistsToml", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "label", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "newLabel", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "lastCallGas", - "inputs": [], - "outputs": [ - { - "name": "gas", - "type": "tuple", - "internalType": "struct VmSafe.Gas", - "components": [ - { - "name": "gasLimit", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "gasTotalUsed", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "gasMemoryUsed", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "gasRefunded", - "type": "int64", - "internalType": "int64" - }, - { - "name": "gasRemaining", - "type": "uint64", - "internalType": "uint64" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "load", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "slot", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "data", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "loadAllocs", - "inputs": [ - { - "name": "pathToAllocsJson", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "makePersistent", - "inputs": [ - { - "name": "accounts", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "makePersistent", - "inputs": [ - { - "name": "account0", - "type": "address", - "internalType": "address" - }, - { - "name": "account1", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "makePersistent", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "makePersistent", - "inputs": [ - { - "name": "account0", - "type": "address", - "internalType": "address" - }, - { - "name": "account1", - "type": "address", - "internalType": "address" - }, - { - "name": "account2", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mockCall", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes4", - "internalType": "bytes4" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mockCall", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "msgValue", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mockCall", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mockCall", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "msgValue", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes4", - "internalType": "bytes4" - }, - { - "name": "returnData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mockCallRevert", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes4", - "internalType": "bytes4" - }, - { - "name": "revertData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mockCallRevert", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "msgValue", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes4", - "internalType": "bytes4" - }, - { - "name": "revertData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mockCallRevert", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "msgValue", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "revertData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mockCallRevert", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "revertData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mockCalls", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "msgValue", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "returnData", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mockCalls", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "returnData", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "mockFunction", - "inputs": [ - { - "name": "callee", - "type": "address", - "internalType": "address" - }, - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "parseAddress", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseBool", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseBytes", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseBytes32", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseInt", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJson", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "abiEncodedData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJson", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "abiEncodedData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonAddress", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonAddressArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBool", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBoolArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBytes", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBytes32", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBytes32Array", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonBytesArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonInt", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonIntArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonKeys", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "keys", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonString", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonStringArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonType", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonType", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonTypeArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonUint", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseJsonUintArray", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseToml", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "abiEncodedData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseToml", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "abiEncodedData", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlAddress", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlAddressArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBool", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBoolArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBytes", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBytes32", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBytes32Array", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlBytesArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlInt", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlIntArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlKeys", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "keys", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlString", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlStringArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlType", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlType", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlTypeArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlUint", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseTomlUintArray", - "inputs": [ - { - "name": "toml", - "type": "string", - "internalType": "string" - }, - { - "name": "key", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "parseUint", - "inputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "parsedValue", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "pauseGasMetering", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "pauseTracing", - "inputs": [], - "outputs": [], - "stateMutability": "view" - }, - { - "type": "function", - "name": "prank", - "inputs": [ - { - "name": "msgSender", - "type": "address", - "internalType": "address" - }, - { - "name": "txOrigin", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "prank", - "inputs": [ - { - "name": "msgSender", - "type": "address", - "internalType": "address" - }, - { - "name": "txOrigin", - "type": "address", - "internalType": "address" - }, - { - "name": "delegateCall", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "prank", - "inputs": [ - { - "name": "msgSender", - "type": "address", - "internalType": "address" - }, - { - "name": "delegateCall", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "prank", - "inputs": [ - { - "name": "msgSender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "prevrandao", - "inputs": [ - { - "name": "newPrevrandao", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "prevrandao", - "inputs": [ - { - "name": "newPrevrandao", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "projectRoot", - "inputs": [], - "outputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "prompt", - "inputs": [ - { - "name": "promptText", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "promptAddress", - "inputs": [ - { - "name": "promptText", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "promptSecret", - "inputs": [ - { - "name": "promptText", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "promptSecretUint", - "inputs": [ - { - "name": "promptText", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "promptUint", - "inputs": [ - { - "name": "promptText", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "publicKeyP256", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "randomAddress", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "randomBool", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomBytes", - "inputs": [ - { - "name": "len", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomBytes4", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomBytes8", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes8", - "internalType": "bytes8" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomInt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomInt", - "inputs": [ - { - "name": "bits", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "int256", - "internalType": "int256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomUint", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "randomUint", - "inputs": [ - { - "name": "bits", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "randomUint", - "inputs": [ - { - "name": "min", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "max", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "readCallers", - "inputs": [], - "outputs": [ - { - "name": "callerMode", - "type": "uint8", - "internalType": "enum VmSafe.CallerMode" - }, - { - "name": "msgSender", - "type": "address", - "internalType": "address" - }, - { - "name": "txOrigin", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "readDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "maxDepth", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [ - { - "name": "entries", - "type": "tuple[]", - "internalType": "struct VmSafe.DirEntry[]", - "components": [ - { - "name": "errorMessage", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "depth", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "isDir", - "type": "bool", - "internalType": "bool" - }, - { - "name": "isSymlink", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "maxDepth", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "followLinks", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "entries", - "type": "tuple[]", - "internalType": "struct VmSafe.DirEntry[]", - "components": [ - { - "name": "errorMessage", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "depth", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "isDir", - "type": "bool", - "internalType": "bool" - }, - { - "name": "isSymlink", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "entries", - "type": "tuple[]", - "internalType": "struct VmSafe.DirEntry[]", - "components": [ - { - "name": "errorMessage", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "depth", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "isDir", - "type": "bool", - "internalType": "bool" - }, - { - "name": "isSymlink", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readFile", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "data", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readFileBinary", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readLine", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "line", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "readLink", - "inputs": [ - { - "name": "linkPath", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "targetPath", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "record", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "recordLogs", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rememberKey", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "keyAddr", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rememberKeys", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "derivationPath", - "type": "string", - "internalType": "string" - }, - { - "name": "count", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "keyAddrs", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rememberKeys", - "inputs": [ - { - "name": "mnemonic", - "type": "string", - "internalType": "string" - }, - { - "name": "derivationPath", - "type": "string", - "internalType": "string" - }, - { - "name": "language", - "type": "string", - "internalType": "string" - }, - { - "name": "count", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "keyAddrs", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "removeDir", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "recursive", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "removeFile", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "replace", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - }, - { - "name": "from", - "type": "string", - "internalType": "string" - }, - { - "name": "to", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "output", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "resetGasMetering", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "resetNonce", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "resumeGasMetering", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "resumeTracing", - "inputs": [], - "outputs": [], - "stateMutability": "view" - }, - { - "type": "function", - "name": "revertTo", - "inputs": [ - { - "name": "snapshotId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "revertToAndDelete", - "inputs": [ - { - "name": "snapshotId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "revertToState", - "inputs": [ - { - "name": "snapshotId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "revertToStateAndDelete", - "inputs": [ - { - "name": "snapshotId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "success", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "revokePersistent", - "inputs": [ - { - "name": "accounts", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "revokePersistent", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "roll", - "inputs": [ - { - "name": "newHeight", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rollFork", - "inputs": [ - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rollFork", - "inputs": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rollFork", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rollFork", - "inputs": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rpc", - "inputs": [ - { - "name": "urlOrAlias", - "type": "string", - "internalType": "string" - }, - { - "name": "method", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rpc", - "inputs": [ - { - "name": "method", - "type": "string", - "internalType": "string" - }, - { - "name": "params", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "rpcUrl", - "inputs": [ - { - "name": "rpcAlias", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "rpcUrlStructs", - "inputs": [], - "outputs": [ - { - "name": "urls", - "type": "tuple[]", - "internalType": "struct VmSafe.Rpc[]", - "components": [ - { - "name": "key", - "type": "string", - "internalType": "string" - }, - { - "name": "url", - "type": "string", - "internalType": "string" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "rpcUrls", - "inputs": [], - "outputs": [ - { - "name": "urls", - "type": "string[2][]", - "internalType": "string[2][]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "selectFork", - "inputs": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeAddress", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeAddress", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBool", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "bool[]", - "internalType": "bool[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBool", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBytes", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "bytes[]", - "internalType": "bytes[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBytes", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBytes32", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeBytes32", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeInt", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeInt", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "int256[]", - "internalType": "int256[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeJson", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeJsonType", - "inputs": [ - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "serializeJsonType", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "typeDescription", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeString", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeString", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeUint", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeUint", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "values", - "type": "uint256[]", - "internalType": "uint256[]" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "serializeUintToHex", - "inputs": [ - { - "name": "objectKey", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setArbitraryStorage", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setBlockhash", - "inputs": [ - { - "name": "blockNumber", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "blockHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setEnv", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setNonce", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "newNonce", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setNonceUnsafe", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "newNonce", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "sign", - "inputs": [ - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "sign", - "inputs": [ - { - "name": "signer", - "type": "address", - "internalType": "address" - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "sign", - "inputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "sign", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "signAndAttachDelegation", - "inputs": [ - { - "name": "implementation", - "type": "address", - "internalType": "address" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "signedDelegation", - "type": "tuple", - "internalType": "struct VmSafe.SignedDelegation", - "components": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "nonce", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "implementation", - "type": "address", - "internalType": "address" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "signCompact", - "inputs": [ - { - "name": "wallet", - "type": "tuple", - "internalType": "struct VmSafe.Wallet", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "publicKeyX", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "publicKeyY", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "vs", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "signCompact", - "inputs": [ - { - "name": "signer", - "type": "address", - "internalType": "address" - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "vs", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "signCompact", - "inputs": [ - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "vs", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "signCompact", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "vs", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "signDelegation", - "inputs": [ - { - "name": "implementation", - "type": "address", - "internalType": "address" - }, - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "signedDelegation", - "type": "tuple", - "internalType": "struct VmSafe.SignedDelegation", - "components": [ - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "nonce", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "implementation", - "type": "address", - "internalType": "address" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "signP256", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "digest", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "skip", - "inputs": [ - { - "name": "skipTest", - "type": "bool", - "internalType": "bool" - }, - { - "name": "reason", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "skip", - "inputs": [ - { - "name": "skipTest", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "sleep", - "inputs": [ - { - "name": "duration", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "snapshot", - "inputs": [], - "outputs": [ - { - "name": "snapshotId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "snapshotGasLastCall", - "inputs": [ - { - "name": "group", - "type": "string", - "internalType": "string" - }, - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "gasUsed", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "snapshotGasLastCall", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "gasUsed", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "snapshotState", - "inputs": [], - "outputs": [ - { - "name": "snapshotId", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "snapshotValue", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "snapshotValue", - "inputs": [ - { - "name": "group", - "type": "string", - "internalType": "string" - }, - { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "split", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - }, - { - "name": "delimiter", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "outputs", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "startBroadcast", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startBroadcast", - "inputs": [ - { - "name": "signer", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startBroadcast", - "inputs": [ - { - "name": "privateKey", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startDebugTraceRecording", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startMappingRecording", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startPrank", - "inputs": [ - { - "name": "msgSender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startPrank", - "inputs": [ - { - "name": "msgSender", - "type": "address", - "internalType": "address" - }, - { - "name": "delegateCall", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startPrank", - "inputs": [ - { - "name": "msgSender", - "type": "address", - "internalType": "address" - }, - { - "name": "txOrigin", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startPrank", - "inputs": [ - { - "name": "msgSender", - "type": "address", - "internalType": "address" - }, - { - "name": "txOrigin", - "type": "address", - "internalType": "address" - }, - { - "name": "delegateCall", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startSnapshotGas", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startSnapshotGas", - "inputs": [ - { - "name": "group", - "type": "string", - "internalType": "string" - }, - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "startStateDiffRecording", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopAndReturnDebugTraceRecording", - "inputs": [], - "outputs": [ - { - "name": "step", - "type": "tuple[]", - "internalType": "struct VmSafe.DebugStep[]", - "components": [ - { - "name": "stack", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "memoryInput", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "opcode", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "depth", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "isOutOfGas", - "type": "bool", - "internalType": "bool" - }, - { - "name": "contractAddr", - "type": "address", - "internalType": "address" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopAndReturnStateDiff", - "inputs": [], - "outputs": [ - { - "name": "accountAccesses", - "type": "tuple[]", - "internalType": "struct VmSafe.AccountAccess[]", - "components": [ - { - "name": "chainInfo", - "type": "tuple", - "internalType": "struct VmSafe.ChainInfo", - "components": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "chainId", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "name": "kind", - "type": "uint8", - "internalType": "enum VmSafe.AccountAccessKind" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "accessor", - "type": "address", - "internalType": "address" - }, - { - "name": "initialized", - "type": "bool", - "internalType": "bool" - }, - { - "name": "oldBalance", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "newBalance", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "deployedCode", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "reverted", - "type": "bool", - "internalType": "bool" - }, - { - "name": "storageAccesses", - "type": "tuple[]", - "internalType": "struct VmSafe.StorageAccess[]", - "components": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "slot", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "isWrite", - "type": "bool", - "internalType": "bool" - }, - { - "name": "previousValue", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "newValue", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "reverted", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "name": "depth", - "type": "uint64", - "internalType": "uint64" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopBroadcast", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopExpectSafeMemory", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopMappingRecording", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopPrank", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopSnapshotGas", - "inputs": [ - { - "name": "group", - "type": "string", - "internalType": "string" - }, - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "gasUsed", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopSnapshotGas", - "inputs": [ - { - "name": "name", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "gasUsed", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "stopSnapshotGas", - "inputs": [], - "outputs": [ - { - "name": "gasUsed", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "store", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - }, - { - "name": "slot", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "value", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "toBase64", - "inputs": [ - { - "name": "data", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toBase64", - "inputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toBase64URL", - "inputs": [ - { - "name": "data", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toBase64URL", - "inputs": [ - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toLowercase", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "output", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "bool", - "internalType": "bool" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "int256", - "internalType": "int256" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toString", - "inputs": [ - { - "name": "value", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "stringifiedValue", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "toUppercase", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "output", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "transact", - "inputs": [ - { - "name": "forkId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transact", - "inputs": [ - { - "name": "txHash", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "trim", - "inputs": [ - { - "name": "input", - "type": "string", - "internalType": "string" - } - ], - "outputs": [ - { - "name": "output", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "pure" - }, - { - "type": "function", - "name": "tryFfi", - "inputs": [ - { - "name": "commandInput", - "type": "string[]", - "internalType": "string[]" - } - ], - "outputs": [ - { - "name": "result", - "type": "tuple", - "internalType": "struct VmSafe.FfiResult", - "components": [ - { - "name": "exitCode", - "type": "int32", - "internalType": "int32" - }, - { - "name": "stdout", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "stderr", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "txGasPrice", - "inputs": [ - { - "name": "newGasPrice", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unixTime", - "inputs": [], - "outputs": [ - { - "name": "milliseconds", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "warp", - "inputs": [ - { - "name": "newTimestamp", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeFile", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "data", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeFileBinary", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeJson", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeJson", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeLine", - "inputs": [ - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "data", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeToml", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - }, - { - "name": "valueKey", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "writeToml", - "inputs": [ - { - "name": "json", - "type": "string", - "internalType": "string" - }, - { - "name": "path", - "type": "string", - "internalType": "string" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - } -] diff --git a/abis/VotingTest_abi.json b/abis/VotingTest_abi.json deleted file mode 100644 index 3760a6d..0000000 --- a/abis/VotingTest_abi.json +++ /dev/null @@ -1,948 +0,0 @@ -[ - { - "type": "function", - "name": "IS_TEST", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "admin", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "adminHatId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "autoRelease", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "baal", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "communityVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "escrow", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeArtifacts", - "inputs": [], - "outputs": [ - { - "name": "excludedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeContracts", - "inputs": [], - "outputs": [ - { - "name": "excludedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSelectors", - "inputs": [], - "outputs": [ - { - "name": "excludedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "excludeSenders", - "inputs": [], - "outputs": [ - { - "name": "excludedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "failed", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "govVault", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "governor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address payable" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "hatsCtx", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "initialFeeBps", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lootToken", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "purchaseTracker", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "safe", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "script", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract DeployHamzaVault" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "setUp", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "systemSettings", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifactSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifactSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzArtifactSelector[]", - "components": [ - { - "name": "artifact", - "type": "string", - "internalType": "string" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetArtifacts", - "inputs": [], - "outputs": [ - { - "name": "targetedArtifacts_", - "type": "string[]", - "internalType": "string[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetContracts", - "inputs": [], - "outputs": [ - { - "name": "targetedContracts_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetInterfaces", - "inputs": [], - "outputs": [ - { - "name": "targetedInterfaces_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzInterface[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "artifacts", - "type": "string[]", - "internalType": "string[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSelectors", - "inputs": [], - "outputs": [ - { - "name": "targetedSelectors_", - "type": "tuple[]", - "internalType": "struct StdInvariant.FuzzSelector[]", - "components": [ - { - "name": "addr", - "type": "address", - "internalType": "address" - }, - { - "name": "selectors", - "type": "bytes4[]", - "internalType": "bytes4[]" - } - ] - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "targetSenders", - "inputs": [], - "outputs": [ - { - "name": "targetedSenders_", - "type": "address[]", - "internalType": "address[]" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "testAbstainVotes", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testDoubleVotePrevention", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testNonUnanimousVoteDefeat", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testNonUnanimousVoteExecute", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testProposalCancellation", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testProposalVote", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testProposeVote", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testQuorumRequirement", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testTimelockEnforcement", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testUnanimousVoteDefeat", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testVote", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testVoteDelegation", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testVoteQueue", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "testVoteWithoutPower", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "timeLockDelay", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "user", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "userLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vaultLootAmountFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "vestingPeriodFromConfig", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "event", - "name": "log", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_address", - "inputs": [ - { - "name": "", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_array", - "inputs": [ - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_bytes32", - "inputs": [ - { - "name": "", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_int", - "inputs": [ - { - "name": "", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_address", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address", - "indexed": false, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256[]", - "indexed": false, - "internalType": "int256[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_array", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "address[]", - "indexed": false, - "internalType": "address[]" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_bytes32", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_decimal_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, - { - "name": "decimals", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_int", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "int256", - "indexed": false, - "internalType": "int256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_string", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_named_uint", - "inputs": [ - { - "name": "key", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "val", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_string", - "inputs": [ - { - "name": "", - "type": "string", - "indexed": false, - "internalType": "string" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "log_uint", - "inputs": [ - { - "name": "", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "logs", - "inputs": [ - { - "name": "", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - } - ], - "anonymous": false - } -] diff --git a/abis/console_abi.json b/abis/console_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/console_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/safeconsole_abi.json b/abis/safeconsole_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/safeconsole_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/stdError_abi.json b/abis/stdError_abi.json deleted file mode 100644 index a72a6bd..0000000 --- a/abis/stdError_abi.json +++ /dev/null @@ -1,119 +0,0 @@ -[ - { - "type": "function", - "name": "arithmeticError", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "assertionError", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "divisionError", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "encodeStorageError", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "enumConversionError", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "indexOOBError", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "memOverflowError", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "popError", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "zeroVarError", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes", - "internalType": "bytes" - } - ], - "stateMutability": "view" - } -] diff --git a/abis/stdJson_abi.json b/abis/stdJson_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/stdJson_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/stdMath_abi.json b/abis/stdMath_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/stdMath_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/stdStorageSafe_abi.json b/abis/stdStorageSafe_abi.json deleted file mode 100644 index 459d2cf..0000000 --- a/abis/stdStorageSafe_abi.json +++ /dev/null @@ -1,52 +0,0 @@ -[ - { - "type": "event", - "name": "SlotFound", - "inputs": [ - { - "name": "who", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "fsig", - "type": "bytes4", - "indexed": false, - "internalType": "bytes4" - }, - { - "name": "keysHash", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "slot", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "WARNING_UninitedSlot", - "inputs": [ - { - "name": "who", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "slot", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - } - ], - "anonymous": false - } -] diff --git a/abis/stdStorage_abi.json b/abis/stdStorage_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/stdStorage_abi.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/abis/stdToml_abi.json b/abis/stdToml_abi.json deleted file mode 100644 index fe51488..0000000 --- a/abis/stdToml_abi.json +++ /dev/null @@ -1 +0,0 @@ -[]