@gnosis-guild/zodiac 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +165 -0
- package/README.md +141 -0
- package/contracts/core/GuardableModifier.sol +96 -0
- package/contracts/core/GuardableModule.sol +95 -0
- package/contracts/core/Modifier.sol +204 -0
- package/contracts/core/Module.sol +73 -0
- package/contracts/factory/FactoryFriendly.sol +10 -0
- package/contracts/factory/ModuleProxyFactory.sol +51 -0
- package/contracts/guard/BaseGuard.sol +36 -0
- package/contracts/guard/Guardable.sol +32 -0
- package/contracts/interfaces/IAvatar.sol +71 -0
- package/contracts/interfaces/IGuard.sol +22 -0
- package/contracts/signature/ExecutionTracker.sol +17 -0
- package/contracts/signature/IERC1271.sol +19 -0
- package/contracts/signature/SignatureChecker.sol +154 -0
- package/contracts/test/TestAvatar.sol +64 -0
- package/contracts/test/TestGuard.sol +82 -0
- package/contracts/test/TestGuardableModifier.sol +82 -0
- package/contracts/test/TestModifier.sol +88 -0
- package/contracts/test/TestModule.sol +66 -0
- package/contracts/test/TestSignature.sol +71 -0
- package/dist/cjs/abi/Bridge.json +382 -0
- package/dist/cjs/abi/CirculatingSupplyErc20.json +245 -0
- package/dist/cjs/abi/CirculatingSupplyErc721.json +245 -0
- package/dist/cjs/abi/Connext.json +493 -0
- package/dist/cjs/abi/Delay.json +728 -0
- package/dist/cjs/abi/Erc20Votes.json +797 -0
- package/dist/cjs/abi/Erc721Votes.json +792 -0
- package/dist/cjs/abi/ExitErc20.json +419 -0
- package/dist/cjs/abi/ExitErc721.json +419 -0
- package/dist/cjs/abi/MetaGuard.json +471 -0
- package/dist/cjs/abi/ModuleProxyFactory.json +77 -0
- package/dist/cjs/abi/MultisendEncoder.json +61 -0
- package/dist/cjs/abi/OptimisticGovernor.json +938 -0
- package/dist/cjs/abi/OzGovernor.json +706 -0
- package/dist/cjs/abi/Permissions.json +520 -0
- package/dist/cjs/abi/RealityErc20.json +871 -0
- package/dist/cjs/abi/RealityEth.json +871 -0
- package/dist/cjs/abi/RolesV1.json +990 -0
- package/dist/cjs/abi/RolesV2.json +1484 -0
- package/dist/cjs/abi/ScopeGuard.json +592 -0
- package/dist/cjs/abi/Tellor.json +978 -0
- package/dist/cjs/contracts.d.ts +61 -0
- package/dist/cjs/contracts.js +309 -0
- package/dist/cjs/factory/deployModuleFactory.d.ts +9 -0
- package/dist/cjs/factory/deployModuleFactory.js +44 -0
- package/dist/cjs/factory/index.d.ts +5 -0
- package/dist/cjs/factory/index.js +21 -0
- package/dist/cjs/factory/mastercopyDeployer.d.ts +27 -0
- package/dist/cjs/factory/mastercopyDeployer.js +97 -0
- package/dist/cjs/factory/moduleDeployer.d.ts +105 -0
- package/dist/cjs/factory/moduleDeployer.js +90 -0
- package/dist/cjs/factory/singletonFactory.d.ts +11 -0
- package/dist/cjs/factory/singletonFactory.js +39 -0
- package/dist/cjs/factory/types.d.ts +25 -0
- package/dist/cjs/factory/types.js +58 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +17 -0
- package/dist/cjs/initData/Bridge.d.ts +2 -0
- package/dist/cjs/initData/Bridge.js +5 -0
- package/dist/cjs/initData/CirculatingSupplyErc20.d.ts +2 -0
- package/dist/cjs/initData/CirculatingSupplyErc20.js +5 -0
- package/dist/cjs/initData/CirculatingSupplyErc721.d.ts +2 -0
- package/dist/cjs/initData/CirculatingSupplyErc721.js +5 -0
- package/dist/cjs/initData/Connext.d.ts +2 -0
- package/dist/cjs/initData/Connext.js +5 -0
- package/dist/cjs/initData/Delay.d.ts +2 -0
- package/dist/cjs/initData/Delay.js +5 -0
- package/dist/cjs/initData/Erc20Votes.d.ts +2 -0
- package/dist/cjs/initData/Erc20Votes.js +5 -0
- package/dist/cjs/initData/Erc721Votes.d.ts +2 -0
- package/dist/cjs/initData/Erc721Votes.js +5 -0
- package/dist/cjs/initData/ExitErc20.d.ts +2 -0
- package/dist/cjs/initData/ExitErc20.js +5 -0
- package/dist/cjs/initData/ExitErc721.d.ts +2 -0
- package/dist/cjs/initData/ExitErc721.js +5 -0
- package/dist/cjs/initData/ModuleProxyFactory.d.ts +2 -0
- package/dist/cjs/initData/ModuleProxyFactory.js +5 -0
- package/dist/cjs/initData/MultisendEncoder.d.ts +2 -0
- package/dist/cjs/initData/MultisendEncoder.js +5 -0
- package/dist/cjs/initData/OzGovernor.d.ts +2 -0
- package/dist/cjs/initData/OzGovernor.js +5 -0
- package/dist/cjs/initData/Permissions.d.ts +2 -0
- package/dist/cjs/initData/Permissions.js +5 -0
- package/dist/cjs/initData/RealityErc20.d.ts +2 -0
- package/dist/cjs/initData/RealityErc20.js +5 -0
- package/dist/cjs/initData/RealityEth.d.ts +2 -0
- package/dist/cjs/initData/RealityEth.js +5 -0
- package/dist/cjs/initData/RolesV1.d.ts +2 -0
- package/dist/cjs/initData/RolesV1.js +5 -0
- package/dist/cjs/initData/RolesV2.d.ts +2 -0
- package/dist/cjs/initData/RolesV2.js +5 -0
- package/dist/cjs/initData/ScopeGuard.d.ts +2 -0
- package/dist/cjs/initData/ScopeGuard.js +5 -0
- package/dist/cjs/types/Bridge.d.ts +208 -0
- package/dist/cjs/types/Bridge.js +2 -0
- package/dist/cjs/types/CirculatingSupplyErc20.d.ts +158 -0
- package/dist/cjs/types/CirculatingSupplyErc20.js +2 -0
- package/dist/cjs/types/CirculatingSupplyErc721.d.ts +158 -0
- package/dist/cjs/types/CirculatingSupplyErc721.js +2 -0
- package/dist/cjs/types/Connext.d.ts +289 -0
- package/dist/cjs/types/Connext.js +2 -0
- package/dist/cjs/types/Delay.d.ts +407 -0
- package/dist/cjs/types/Delay.js +2 -0
- package/dist/cjs/types/Erc20Votes.d.ts +475 -0
- package/dist/cjs/types/Erc20Votes.js +2 -0
- package/dist/cjs/types/Erc721Votes.d.ts +455 -0
- package/dist/cjs/types/Erc721Votes.js +2 -0
- package/dist/cjs/types/ExitErc20.d.ts +238 -0
- package/dist/cjs/types/ExitErc20.js +2 -0
- package/dist/cjs/types/ExitErc721.d.ts +238 -0
- package/dist/cjs/types/ExitErc721.js +2 -0
- package/dist/cjs/types/MetaGuard.d.ts +274 -0
- package/dist/cjs/types/MetaGuard.js +2 -0
- package/dist/cjs/types/ModuleProxyFactory.d.ts +54 -0
- package/dist/cjs/types/ModuleProxyFactory.js +2 -0
- package/dist/cjs/types/MultisendEncoder.d.ts +59 -0
- package/dist/cjs/types/MultisendEncoder.js +2 -0
- package/dist/cjs/types/OptimisticGovernor.d.ts +547 -0
- package/dist/cjs/types/OptimisticGovernor.js +2 -0
- package/dist/cjs/types/OzGovernor.d.ts +645 -0
- package/dist/cjs/types/OzGovernor.js +2 -0
- package/dist/cjs/types/Permissions.d.ts +341 -0
- package/dist/cjs/types/Permissions.js +2 -0
- package/dist/cjs/types/RealityErc20.d.ts +471 -0
- package/dist/cjs/types/RealityErc20.js +2 -0
- package/dist/cjs/types/RealityEth.d.ts +471 -0
- package/dist/cjs/types/RealityEth.js +2 -0
- package/dist/cjs/types/RolesV1.d.ts +649 -0
- package/dist/cjs/types/RolesV1.js +2 -0
- package/dist/cjs/types/RolesV2.d.ts +908 -0
- package/dist/cjs/types/RolesV2.js +2 -0
- package/dist/cjs/types/ScopeGuard.d.ts +405 -0
- package/dist/cjs/types/ScopeGuard.js +2 -0
- package/dist/cjs/types/Tellor.d.ts +572 -0
- package/dist/cjs/types/Tellor.js +2 -0
- package/dist/cjs/types/Usul.d.ts +535 -0
- package/dist/cjs/types/Usul.js +2 -0
- package/dist/cjs/types/common.d.ts +50 -0
- package/dist/cjs/types/common.js +2 -0
- package/dist/cjs/types/factories/Bridge__factory.d.ts +303 -0
- package/dist/cjs/types/factories/Bridge__factory.js +399 -0
- package/dist/cjs/types/factories/CirculatingSupplyErc20__factory.d.ts +194 -0
- package/dist/cjs/types/factories/CirculatingSupplyErc20__factory.js +262 -0
- package/dist/cjs/types/factories/CirculatingSupplyErc721__factory.d.ts +194 -0
- package/dist/cjs/types/factories/CirculatingSupplyErc721__factory.js +262 -0
- package/dist/cjs/types/factories/Connext__factory.d.ts +389 -0
- package/dist/cjs/types/factories/Connext__factory.js +510 -0
- package/dist/cjs/types/factories/Delay__factory.d.ts +568 -0
- package/dist/cjs/types/factories/Delay__factory.js +745 -0
- package/dist/cjs/types/factories/Erc20Votes__factory.d.ts +619 -0
- package/dist/cjs/types/factories/Erc20Votes__factory.js +814 -0
- package/dist/cjs/types/factories/Erc721Votes__factory.d.ts +616 -0
- package/dist/cjs/types/factories/Erc721Votes__factory.js +809 -0
- package/dist/cjs/types/factories/ExitErc20__factory.d.ts +329 -0
- package/dist/cjs/types/factories/ExitErc20__factory.js +436 -0
- package/dist/cjs/types/factories/ExitErc721__factory.d.ts +329 -0
- package/dist/cjs/types/factories/ExitErc721__factory.js +436 -0
- package/dist/cjs/types/factories/MetaGuard__factory.d.ts +369 -0
- package/dist/cjs/types/factories/MetaGuard__factory.js +488 -0
- package/dist/cjs/types/factories/ModuleProxyFactory__factory.d.ts +64 -0
- package/dist/cjs/types/factories/ModuleProxyFactory__factory.js +94 -0
- package/dist/cjs/types/factories/MultisendEncoder__factory.d.ts +53 -0
- package/dist/cjs/types/factories/MultisendEncoder__factory.js +78 -0
- package/dist/cjs/types/factories/OptimisticGovernor__factory.d.ts +734 -0
- package/dist/cjs/types/factories/OptimisticGovernor__factory.js +955 -0
- package/dist/cjs/types/factories/OzGovernor__factory.d.ts +827 -0
- package/dist/cjs/types/factories/OzGovernor__factory.js +1080 -0
- package/dist/cjs/types/factories/Permissions__factory.d.ts +423 -0
- package/dist/cjs/types/factories/Permissions__factory.js +537 -0
- package/dist/cjs/types/factories/RealityErc20__factory.d.ts +680 -0
- package/dist/cjs/types/factories/RealityErc20__factory.js +888 -0
- package/dist/cjs/types/factories/RealityEth__factory.d.ts +680 -0
- package/dist/cjs/types/factories/RealityEth__factory.js +888 -0
- package/dist/cjs/types/factories/RolesV1__factory.d.ts +776 -0
- package/dist/cjs/types/factories/RolesV1__factory.js +1007 -0
- package/dist/cjs/types/factories/RolesV2__factory.d.ts +1156 -0
- package/dist/cjs/types/factories/RolesV2__factory.js +1501 -0
- package/dist/cjs/types/factories/ScopeGuard__factory.d.ts +463 -0
- package/dist/cjs/types/factories/ScopeGuard__factory.js +609 -0
- package/dist/cjs/types/factories/Tellor__factory.d.ts +757 -0
- package/dist/cjs/types/factories/Tellor__factory.js +995 -0
- package/dist/cjs/types/factories/Usul__factory.d.ts +634 -0
- package/dist/cjs/types/factories/Usul__factory.js +829 -0
- package/dist/cjs/types/factories/index.d.ts +22 -0
- package/dist/cjs/types/factories/index.js +50 -0
- package/dist/cjs/types/index.d.ts +45 -0
- package/dist/cjs/types/index.js +71 -0
- package/dist/esm/abi/Bridge.json +382 -0
- package/dist/esm/abi/CirculatingSupplyErc20.json +245 -0
- package/dist/esm/abi/CirculatingSupplyErc721.json +245 -0
- package/dist/esm/abi/Connext.json +493 -0
- package/dist/esm/abi/Delay.json +728 -0
- package/dist/esm/abi/Erc20Votes.json +797 -0
- package/dist/esm/abi/Erc721Votes.json +792 -0
- package/dist/esm/abi/ExitErc20.json +419 -0
- package/dist/esm/abi/ExitErc721.json +419 -0
- package/dist/esm/abi/MetaGuard.json +471 -0
- package/dist/esm/abi/ModuleProxyFactory.json +77 -0
- package/dist/esm/abi/MultisendEncoder.json +61 -0
- package/dist/esm/abi/OptimisticGovernor.json +938 -0
- package/dist/esm/abi/OzGovernor.json +706 -0
- package/dist/esm/abi/Permissions.json +520 -0
- package/dist/esm/abi/RealityErc20.json +871 -0
- package/dist/esm/abi/RealityEth.json +871 -0
- package/dist/esm/abi/RolesV1.json +990 -0
- package/dist/esm/abi/RolesV2.json +1484 -0
- package/dist/esm/abi/ScopeGuard.json +592 -0
- package/dist/esm/abi/Tellor.json +978 -0
- package/dist/esm/contracts.d.ts +61 -0
- package/dist/esm/contracts.js +280 -0
- package/dist/esm/factory/deployModuleFactory.d.ts +9 -0
- package/dist/esm/factory/deployModuleFactory.js +46 -0
- package/dist/esm/factory/index.d.ts +5 -0
- package/dist/esm/factory/index.js +5 -0
- package/dist/esm/factory/mastercopyDeployer.d.ts +27 -0
- package/dist/esm/factory/mastercopyDeployer.js +100 -0
- package/dist/esm/factory/moduleDeployer.d.ts +105 -0
- package/dist/esm/factory/moduleDeployer.js +91 -0
- package/dist/esm/factory/singletonFactory.d.ts +11 -0
- package/dist/esm/factory/singletonFactory.js +44 -0
- package/dist/esm/factory/types.d.ts +25 -0
- package/dist/esm/factory/types.js +55 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/initData/Bridge.d.ts +2 -0
- package/dist/esm/initData/Bridge.js +2 -0
- package/dist/esm/initData/CirculatingSupplyErc20.d.ts +2 -0
- package/dist/esm/initData/CirculatingSupplyErc20.js +2 -0
- package/dist/esm/initData/CirculatingSupplyErc721.d.ts +2 -0
- package/dist/esm/initData/CirculatingSupplyErc721.js +2 -0
- package/dist/esm/initData/Connext.d.ts +2 -0
- package/dist/esm/initData/Connext.js +2 -0
- package/dist/esm/initData/Delay.d.ts +2 -0
- package/dist/esm/initData/Delay.js +2 -0
- package/dist/esm/initData/Erc20Votes.d.ts +2 -0
- package/dist/esm/initData/Erc20Votes.js +2 -0
- package/dist/esm/initData/Erc721Votes.d.ts +2 -0
- package/dist/esm/initData/Erc721Votes.js +2 -0
- package/dist/esm/initData/ExitErc20.d.ts +2 -0
- package/dist/esm/initData/ExitErc20.js +2 -0
- package/dist/esm/initData/ExitErc721.d.ts +2 -0
- package/dist/esm/initData/ExitErc721.js +2 -0
- package/dist/esm/initData/ModuleProxyFactory.d.ts +2 -0
- package/dist/esm/initData/ModuleProxyFactory.js +2 -0
- package/dist/esm/initData/MultisendEncoder.d.ts +2 -0
- package/dist/esm/initData/MultisendEncoder.js +2 -0
- package/dist/esm/initData/OzGovernor.d.ts +2 -0
- package/dist/esm/initData/OzGovernor.js +2 -0
- package/dist/esm/initData/Permissions.d.ts +2 -0
- package/dist/esm/initData/Permissions.js +2 -0
- package/dist/esm/initData/RealityErc20.d.ts +2 -0
- package/dist/esm/initData/RealityErc20.js +2 -0
- package/dist/esm/initData/RealityEth.d.ts +2 -0
- package/dist/esm/initData/RealityEth.js +2 -0
- package/dist/esm/initData/RolesV1.d.ts +2 -0
- package/dist/esm/initData/RolesV1.js +2 -0
- package/dist/esm/initData/RolesV2.d.ts +2 -0
- package/dist/esm/initData/RolesV2.js +2 -0
- package/dist/esm/initData/ScopeGuard.d.ts +2 -0
- package/dist/esm/initData/ScopeGuard.js +2 -0
- package/dist/esm/types/Bridge.d.ts +208 -0
- package/dist/esm/types/Bridge.js +1 -0
- package/dist/esm/types/CirculatingSupplyErc20.d.ts +158 -0
- package/dist/esm/types/CirculatingSupplyErc20.js +1 -0
- package/dist/esm/types/CirculatingSupplyErc721.d.ts +158 -0
- package/dist/esm/types/CirculatingSupplyErc721.js +1 -0
- package/dist/esm/types/Connext.d.ts +289 -0
- package/dist/esm/types/Connext.js +1 -0
- package/dist/esm/types/Delay.d.ts +407 -0
- package/dist/esm/types/Delay.js +1 -0
- package/dist/esm/types/Erc20Votes.d.ts +475 -0
- package/dist/esm/types/Erc20Votes.js +1 -0
- package/dist/esm/types/Erc721Votes.d.ts +455 -0
- package/dist/esm/types/Erc721Votes.js +1 -0
- package/dist/esm/types/ExitErc20.d.ts +238 -0
- package/dist/esm/types/ExitErc20.js +1 -0
- package/dist/esm/types/ExitErc721.d.ts +238 -0
- package/dist/esm/types/ExitErc721.js +1 -0
- package/dist/esm/types/MetaGuard.d.ts +274 -0
- package/dist/esm/types/MetaGuard.js +1 -0
- package/dist/esm/types/ModuleProxyFactory.d.ts +54 -0
- package/dist/esm/types/ModuleProxyFactory.js +1 -0
- package/dist/esm/types/MultisendEncoder.d.ts +59 -0
- package/dist/esm/types/MultisendEncoder.js +1 -0
- package/dist/esm/types/OptimisticGovernor.d.ts +547 -0
- package/dist/esm/types/OptimisticGovernor.js +1 -0
- package/dist/esm/types/OzGovernor.d.ts +645 -0
- package/dist/esm/types/OzGovernor.js +1 -0
- package/dist/esm/types/Permissions.d.ts +341 -0
- package/dist/esm/types/Permissions.js +1 -0
- package/dist/esm/types/RealityErc20.d.ts +471 -0
- package/dist/esm/types/RealityErc20.js +1 -0
- package/dist/esm/types/RealityEth.d.ts +471 -0
- package/dist/esm/types/RealityEth.js +1 -0
- package/dist/esm/types/RolesV1.d.ts +649 -0
- package/dist/esm/types/RolesV1.js +1 -0
- package/dist/esm/types/RolesV2.d.ts +908 -0
- package/dist/esm/types/RolesV2.js +1 -0
- package/dist/esm/types/ScopeGuard.d.ts +405 -0
- package/dist/esm/types/ScopeGuard.js +1 -0
- package/dist/esm/types/Tellor.d.ts +572 -0
- package/dist/esm/types/Tellor.js +1 -0
- package/dist/esm/types/Usul.d.ts +535 -0
- package/dist/esm/types/Usul.js +1 -0
- package/dist/esm/types/common.d.ts +50 -0
- package/dist/esm/types/common.js +1 -0
- package/dist/esm/types/factories/Bridge__factory.d.ts +303 -0
- package/dist/esm/types/factories/Bridge__factory.js +395 -0
- package/dist/esm/types/factories/CirculatingSupplyErc20__factory.d.ts +194 -0
- package/dist/esm/types/factories/CirculatingSupplyErc20__factory.js +258 -0
- package/dist/esm/types/factories/CirculatingSupplyErc721__factory.d.ts +194 -0
- package/dist/esm/types/factories/CirculatingSupplyErc721__factory.js +258 -0
- package/dist/esm/types/factories/Connext__factory.d.ts +389 -0
- package/dist/esm/types/factories/Connext__factory.js +506 -0
- package/dist/esm/types/factories/Delay__factory.d.ts +568 -0
- package/dist/esm/types/factories/Delay__factory.js +741 -0
- package/dist/esm/types/factories/Erc20Votes__factory.d.ts +619 -0
- package/dist/esm/types/factories/Erc20Votes__factory.js +810 -0
- package/dist/esm/types/factories/Erc721Votes__factory.d.ts +616 -0
- package/dist/esm/types/factories/Erc721Votes__factory.js +805 -0
- package/dist/esm/types/factories/ExitErc20__factory.d.ts +329 -0
- package/dist/esm/types/factories/ExitErc20__factory.js +432 -0
- package/dist/esm/types/factories/ExitErc721__factory.d.ts +329 -0
- package/dist/esm/types/factories/ExitErc721__factory.js +432 -0
- package/dist/esm/types/factories/MetaGuard__factory.d.ts +369 -0
- package/dist/esm/types/factories/MetaGuard__factory.js +484 -0
- package/dist/esm/types/factories/ModuleProxyFactory__factory.d.ts +64 -0
- package/dist/esm/types/factories/ModuleProxyFactory__factory.js +90 -0
- package/dist/esm/types/factories/MultisendEncoder__factory.d.ts +53 -0
- package/dist/esm/types/factories/MultisendEncoder__factory.js +74 -0
- package/dist/esm/types/factories/OptimisticGovernor__factory.d.ts +734 -0
- package/dist/esm/types/factories/OptimisticGovernor__factory.js +951 -0
- package/dist/esm/types/factories/OzGovernor__factory.d.ts +827 -0
- package/dist/esm/types/factories/OzGovernor__factory.js +1076 -0
- package/dist/esm/types/factories/Permissions__factory.d.ts +423 -0
- package/dist/esm/types/factories/Permissions__factory.js +533 -0
- package/dist/esm/types/factories/RealityErc20__factory.d.ts +680 -0
- package/dist/esm/types/factories/RealityErc20__factory.js +884 -0
- package/dist/esm/types/factories/RealityEth__factory.d.ts +680 -0
- package/dist/esm/types/factories/RealityEth__factory.js +884 -0
- package/dist/esm/types/factories/RolesV1__factory.d.ts +776 -0
- package/dist/esm/types/factories/RolesV1__factory.js +1003 -0
- package/dist/esm/types/factories/RolesV2__factory.d.ts +1156 -0
- package/dist/esm/types/factories/RolesV2__factory.js +1497 -0
- package/dist/esm/types/factories/ScopeGuard__factory.d.ts +463 -0
- package/dist/esm/types/factories/ScopeGuard__factory.js +605 -0
- package/dist/esm/types/factories/Tellor__factory.d.ts +757 -0
- package/dist/esm/types/factories/Tellor__factory.js +991 -0
- package/dist/esm/types/factories/Usul__factory.d.ts +634 -0
- package/dist/esm/types/factories/Usul__factory.js +825 -0
- package/dist/esm/types/factories/index.d.ts +22 -0
- package/dist/esm/types/factories/index.js +25 -0
- package/dist/esm/types/index.d.ts +45 -0
- package/dist/esm/types/index.js +24 -0
- package/package.json +98 -0
|
@@ -0,0 +1,547 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common";
|
|
3
|
+
export declare namespace OptimisticGovernor {
|
|
4
|
+
type TransactionStruct = {
|
|
5
|
+
to: AddressLike;
|
|
6
|
+
operation: BigNumberish;
|
|
7
|
+
value: BigNumberish;
|
|
8
|
+
data: BytesLike;
|
|
9
|
+
};
|
|
10
|
+
type TransactionStructOutput = [
|
|
11
|
+
to: string,
|
|
12
|
+
operation: bigint,
|
|
13
|
+
value: bigint,
|
|
14
|
+
data: string
|
|
15
|
+
] & {
|
|
16
|
+
to: string;
|
|
17
|
+
operation: bigint;
|
|
18
|
+
value: bigint;
|
|
19
|
+
data: string;
|
|
20
|
+
};
|
|
21
|
+
type ProposalStruct = {
|
|
22
|
+
transactions: OptimisticGovernor.TransactionStruct[];
|
|
23
|
+
requestTime: BigNumberish;
|
|
24
|
+
};
|
|
25
|
+
type ProposalStructOutput = [
|
|
26
|
+
transactions: OptimisticGovernor.TransactionStructOutput[],
|
|
27
|
+
requestTime: bigint
|
|
28
|
+
] & {
|
|
29
|
+
transactions: OptimisticGovernor.TransactionStructOutput[];
|
|
30
|
+
requestTime: bigint;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export interface OptimisticGovernorInterface extends Interface {
|
|
34
|
+
getFunction(nameOrSignature: "EXPLANATION_KEY" | "PROPOSAL_HASH_KEY" | "RULES_KEY" | "assertionDisputedCallback" | "assertionIds" | "assertionResolvedCallback" | "avatar" | "bondAmount" | "collateral" | "deleteProposalOnUpgrade" | "escalationManager" | "executeProposal" | "finder" | "getCurrentTime" | "getGuard" | "getProposalBond" | "guard" | "identifier" | "liveness" | "optimisticOracleV3" | "owner" | "proposalHashes" | "proposeTransactions" | "renounceOwnership" | "rules" | "setAvatar" | "setCollateralAndBond" | "setEscalationManager" | "setGuard" | "setIdentifier" | "setLiveness" | "setRules" | "setTarget" | "setUp" | "sync" | "target" | "transferOwnership"): FunctionFragment;
|
|
35
|
+
getEvent(nameOrSignatureOrTopic: "AvatarSet" | "ChangedGuard" | "Initialized" | "OptimisticGovernorDeployed" | "OptimisticOracleChanged" | "OwnershipTransferred" | "ProposalDeleted" | "ProposalExecuted" | "SetCollateralAndBond" | "SetEscalationManager" | "SetIdentifier" | "SetLiveness" | "SetRules" | "TargetSet" | "TransactionExecuted" | "TransactionsProposed"): EventFragment;
|
|
36
|
+
encodeFunctionData(functionFragment: "EXPLANATION_KEY", values?: undefined): string;
|
|
37
|
+
encodeFunctionData(functionFragment: "PROPOSAL_HASH_KEY", values?: undefined): string;
|
|
38
|
+
encodeFunctionData(functionFragment: "RULES_KEY", values?: undefined): string;
|
|
39
|
+
encodeFunctionData(functionFragment: "assertionDisputedCallback", values: [BytesLike]): string;
|
|
40
|
+
encodeFunctionData(functionFragment: "assertionIds", values: [BytesLike]): string;
|
|
41
|
+
encodeFunctionData(functionFragment: "assertionResolvedCallback", values: [BytesLike, boolean]): string;
|
|
42
|
+
encodeFunctionData(functionFragment: "avatar", values?: undefined): string;
|
|
43
|
+
encodeFunctionData(functionFragment: "bondAmount", values?: undefined): string;
|
|
44
|
+
encodeFunctionData(functionFragment: "collateral", values?: undefined): string;
|
|
45
|
+
encodeFunctionData(functionFragment: "deleteProposalOnUpgrade", values: [BytesLike]): string;
|
|
46
|
+
encodeFunctionData(functionFragment: "escalationManager", values?: undefined): string;
|
|
47
|
+
encodeFunctionData(functionFragment: "executeProposal", values: [OptimisticGovernor.TransactionStruct[]]): string;
|
|
48
|
+
encodeFunctionData(functionFragment: "finder", values?: undefined): string;
|
|
49
|
+
encodeFunctionData(functionFragment: "getCurrentTime", values?: undefined): string;
|
|
50
|
+
encodeFunctionData(functionFragment: "getGuard", values?: undefined): string;
|
|
51
|
+
encodeFunctionData(functionFragment: "getProposalBond", values?: undefined): string;
|
|
52
|
+
encodeFunctionData(functionFragment: "guard", values?: undefined): string;
|
|
53
|
+
encodeFunctionData(functionFragment: "identifier", values?: undefined): string;
|
|
54
|
+
encodeFunctionData(functionFragment: "liveness", values?: undefined): string;
|
|
55
|
+
encodeFunctionData(functionFragment: "optimisticOracleV3", values?: undefined): string;
|
|
56
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
57
|
+
encodeFunctionData(functionFragment: "proposalHashes", values: [BytesLike]): string;
|
|
58
|
+
encodeFunctionData(functionFragment: "proposeTransactions", values: [OptimisticGovernor.TransactionStruct[], BytesLike]): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
60
|
+
encodeFunctionData(functionFragment: "rules", values?: undefined): string;
|
|
61
|
+
encodeFunctionData(functionFragment: "setAvatar", values: [AddressLike]): string;
|
|
62
|
+
encodeFunctionData(functionFragment: "setCollateralAndBond", values: [AddressLike, BigNumberish]): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "setEscalationManager", values: [AddressLike]): string;
|
|
64
|
+
encodeFunctionData(functionFragment: "setGuard", values: [AddressLike]): string;
|
|
65
|
+
encodeFunctionData(functionFragment: "setIdentifier", values: [BytesLike]): string;
|
|
66
|
+
encodeFunctionData(functionFragment: "setLiveness", values: [BigNumberish]): string;
|
|
67
|
+
encodeFunctionData(functionFragment: "setRules", values: [string]): string;
|
|
68
|
+
encodeFunctionData(functionFragment: "setTarget", values: [AddressLike]): string;
|
|
69
|
+
encodeFunctionData(functionFragment: "setUp", values: [BytesLike]): string;
|
|
70
|
+
encodeFunctionData(functionFragment: "sync", values?: undefined): string;
|
|
71
|
+
encodeFunctionData(functionFragment: "target", values?: undefined): string;
|
|
72
|
+
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
73
|
+
decodeFunctionResult(functionFragment: "EXPLANATION_KEY", data: BytesLike): Result;
|
|
74
|
+
decodeFunctionResult(functionFragment: "PROPOSAL_HASH_KEY", data: BytesLike): Result;
|
|
75
|
+
decodeFunctionResult(functionFragment: "RULES_KEY", data: BytesLike): Result;
|
|
76
|
+
decodeFunctionResult(functionFragment: "assertionDisputedCallback", data: BytesLike): Result;
|
|
77
|
+
decodeFunctionResult(functionFragment: "assertionIds", data: BytesLike): Result;
|
|
78
|
+
decodeFunctionResult(functionFragment: "assertionResolvedCallback", data: BytesLike): Result;
|
|
79
|
+
decodeFunctionResult(functionFragment: "avatar", data: BytesLike): Result;
|
|
80
|
+
decodeFunctionResult(functionFragment: "bondAmount", data: BytesLike): Result;
|
|
81
|
+
decodeFunctionResult(functionFragment: "collateral", data: BytesLike): Result;
|
|
82
|
+
decodeFunctionResult(functionFragment: "deleteProposalOnUpgrade", data: BytesLike): Result;
|
|
83
|
+
decodeFunctionResult(functionFragment: "escalationManager", data: BytesLike): Result;
|
|
84
|
+
decodeFunctionResult(functionFragment: "executeProposal", data: BytesLike): Result;
|
|
85
|
+
decodeFunctionResult(functionFragment: "finder", data: BytesLike): Result;
|
|
86
|
+
decodeFunctionResult(functionFragment: "getCurrentTime", data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: "getGuard", data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: "getProposalBond", data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: "guard", data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: "identifier", data: BytesLike): Result;
|
|
91
|
+
decodeFunctionResult(functionFragment: "liveness", data: BytesLike): Result;
|
|
92
|
+
decodeFunctionResult(functionFragment: "optimisticOracleV3", data: BytesLike): Result;
|
|
93
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
94
|
+
decodeFunctionResult(functionFragment: "proposalHashes", data: BytesLike): Result;
|
|
95
|
+
decodeFunctionResult(functionFragment: "proposeTransactions", data: BytesLike): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: "rules", data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: "setAvatar", data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(functionFragment: "setCollateralAndBond", data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(functionFragment: "setEscalationManager", data: BytesLike): Result;
|
|
101
|
+
decodeFunctionResult(functionFragment: "setGuard", data: BytesLike): Result;
|
|
102
|
+
decodeFunctionResult(functionFragment: "setIdentifier", data: BytesLike): Result;
|
|
103
|
+
decodeFunctionResult(functionFragment: "setLiveness", data: BytesLike): Result;
|
|
104
|
+
decodeFunctionResult(functionFragment: "setRules", data: BytesLike): Result;
|
|
105
|
+
decodeFunctionResult(functionFragment: "setTarget", data: BytesLike): Result;
|
|
106
|
+
decodeFunctionResult(functionFragment: "setUp", data: BytesLike): Result;
|
|
107
|
+
decodeFunctionResult(functionFragment: "sync", data: BytesLike): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: "target", data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
110
|
+
}
|
|
111
|
+
export declare namespace AvatarSetEvent {
|
|
112
|
+
type InputTuple = [
|
|
113
|
+
previousAvatar: AddressLike,
|
|
114
|
+
newAvatar: AddressLike
|
|
115
|
+
];
|
|
116
|
+
type OutputTuple = [previousAvatar: string, newAvatar: string];
|
|
117
|
+
interface OutputObject {
|
|
118
|
+
previousAvatar: string;
|
|
119
|
+
newAvatar: string;
|
|
120
|
+
}
|
|
121
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
122
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
123
|
+
type Log = TypedEventLog<Event>;
|
|
124
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
125
|
+
}
|
|
126
|
+
export declare namespace ChangedGuardEvent {
|
|
127
|
+
type InputTuple = [guard: AddressLike];
|
|
128
|
+
type OutputTuple = [guard: string];
|
|
129
|
+
interface OutputObject {
|
|
130
|
+
guard: string;
|
|
131
|
+
}
|
|
132
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
133
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
134
|
+
type Log = TypedEventLog<Event>;
|
|
135
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
136
|
+
}
|
|
137
|
+
export declare namespace InitializedEvent {
|
|
138
|
+
type InputTuple = [version: BigNumberish];
|
|
139
|
+
type OutputTuple = [version: bigint];
|
|
140
|
+
interface OutputObject {
|
|
141
|
+
version: bigint;
|
|
142
|
+
}
|
|
143
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
144
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
145
|
+
type Log = TypedEventLog<Event>;
|
|
146
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
147
|
+
}
|
|
148
|
+
export declare namespace OptimisticGovernorDeployedEvent {
|
|
149
|
+
type InputTuple = [
|
|
150
|
+
owner: AddressLike,
|
|
151
|
+
avatar: AddressLike,
|
|
152
|
+
target: AddressLike
|
|
153
|
+
];
|
|
154
|
+
type OutputTuple = [owner: string, avatar: string, target: string];
|
|
155
|
+
interface OutputObject {
|
|
156
|
+
owner: string;
|
|
157
|
+
avatar: string;
|
|
158
|
+
target: string;
|
|
159
|
+
}
|
|
160
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
161
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
162
|
+
type Log = TypedEventLog<Event>;
|
|
163
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
164
|
+
}
|
|
165
|
+
export declare namespace OptimisticOracleChangedEvent {
|
|
166
|
+
type InputTuple = [newOptimisticOracleV3: AddressLike];
|
|
167
|
+
type OutputTuple = [newOptimisticOracleV3: string];
|
|
168
|
+
interface OutputObject {
|
|
169
|
+
newOptimisticOracleV3: string;
|
|
170
|
+
}
|
|
171
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
172
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
173
|
+
type Log = TypedEventLog<Event>;
|
|
174
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
175
|
+
}
|
|
176
|
+
export declare namespace OwnershipTransferredEvent {
|
|
177
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
178
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
179
|
+
interface OutputObject {
|
|
180
|
+
previousOwner: string;
|
|
181
|
+
newOwner: string;
|
|
182
|
+
}
|
|
183
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
184
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
185
|
+
type Log = TypedEventLog<Event>;
|
|
186
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
187
|
+
}
|
|
188
|
+
export declare namespace ProposalDeletedEvent {
|
|
189
|
+
type InputTuple = [proposalHash: BytesLike, assertionId: BytesLike];
|
|
190
|
+
type OutputTuple = [proposalHash: string, assertionId: string];
|
|
191
|
+
interface OutputObject {
|
|
192
|
+
proposalHash: string;
|
|
193
|
+
assertionId: string;
|
|
194
|
+
}
|
|
195
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
196
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
197
|
+
type Log = TypedEventLog<Event>;
|
|
198
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
199
|
+
}
|
|
200
|
+
export declare namespace ProposalExecutedEvent {
|
|
201
|
+
type InputTuple = [proposalHash: BytesLike, assertionId: BytesLike];
|
|
202
|
+
type OutputTuple = [proposalHash: string, assertionId: string];
|
|
203
|
+
interface OutputObject {
|
|
204
|
+
proposalHash: string;
|
|
205
|
+
assertionId: string;
|
|
206
|
+
}
|
|
207
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
208
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
209
|
+
type Log = TypedEventLog<Event>;
|
|
210
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
211
|
+
}
|
|
212
|
+
export declare namespace SetCollateralAndBondEvent {
|
|
213
|
+
type InputTuple = [collateral: AddressLike, bondAmount: BigNumberish];
|
|
214
|
+
type OutputTuple = [collateral: string, bondAmount: bigint];
|
|
215
|
+
interface OutputObject {
|
|
216
|
+
collateral: string;
|
|
217
|
+
bondAmount: bigint;
|
|
218
|
+
}
|
|
219
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
220
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
221
|
+
type Log = TypedEventLog<Event>;
|
|
222
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
223
|
+
}
|
|
224
|
+
export declare namespace SetEscalationManagerEvent {
|
|
225
|
+
type InputTuple = [escalationManager: AddressLike];
|
|
226
|
+
type OutputTuple = [escalationManager: string];
|
|
227
|
+
interface OutputObject {
|
|
228
|
+
escalationManager: string;
|
|
229
|
+
}
|
|
230
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
231
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
232
|
+
type Log = TypedEventLog<Event>;
|
|
233
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
234
|
+
}
|
|
235
|
+
export declare namespace SetIdentifierEvent {
|
|
236
|
+
type InputTuple = [identifier: BytesLike];
|
|
237
|
+
type OutputTuple = [identifier: string];
|
|
238
|
+
interface OutputObject {
|
|
239
|
+
identifier: string;
|
|
240
|
+
}
|
|
241
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
242
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
243
|
+
type Log = TypedEventLog<Event>;
|
|
244
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
245
|
+
}
|
|
246
|
+
export declare namespace SetLivenessEvent {
|
|
247
|
+
type InputTuple = [liveness: BigNumberish];
|
|
248
|
+
type OutputTuple = [liveness: bigint];
|
|
249
|
+
interface OutputObject {
|
|
250
|
+
liveness: bigint;
|
|
251
|
+
}
|
|
252
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
253
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
254
|
+
type Log = TypedEventLog<Event>;
|
|
255
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
256
|
+
}
|
|
257
|
+
export declare namespace SetRulesEvent {
|
|
258
|
+
type InputTuple = [rules: string];
|
|
259
|
+
type OutputTuple = [rules: string];
|
|
260
|
+
interface OutputObject {
|
|
261
|
+
rules: string;
|
|
262
|
+
}
|
|
263
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
264
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
265
|
+
type Log = TypedEventLog<Event>;
|
|
266
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
267
|
+
}
|
|
268
|
+
export declare namespace TargetSetEvent {
|
|
269
|
+
type InputTuple = [
|
|
270
|
+
previousTarget: AddressLike,
|
|
271
|
+
newTarget: AddressLike
|
|
272
|
+
];
|
|
273
|
+
type OutputTuple = [previousTarget: string, newTarget: string];
|
|
274
|
+
interface OutputObject {
|
|
275
|
+
previousTarget: string;
|
|
276
|
+
newTarget: string;
|
|
277
|
+
}
|
|
278
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
279
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
280
|
+
type Log = TypedEventLog<Event>;
|
|
281
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
282
|
+
}
|
|
283
|
+
export declare namespace TransactionExecutedEvent {
|
|
284
|
+
type InputTuple = [
|
|
285
|
+
proposalHash: BytesLike,
|
|
286
|
+
assertionId: BytesLike,
|
|
287
|
+
transactionIndex: BigNumberish
|
|
288
|
+
];
|
|
289
|
+
type OutputTuple = [
|
|
290
|
+
proposalHash: string,
|
|
291
|
+
assertionId: string,
|
|
292
|
+
transactionIndex: bigint
|
|
293
|
+
];
|
|
294
|
+
interface OutputObject {
|
|
295
|
+
proposalHash: string;
|
|
296
|
+
assertionId: string;
|
|
297
|
+
transactionIndex: bigint;
|
|
298
|
+
}
|
|
299
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
300
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
301
|
+
type Log = TypedEventLog<Event>;
|
|
302
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
303
|
+
}
|
|
304
|
+
export declare namespace TransactionsProposedEvent {
|
|
305
|
+
type InputTuple = [
|
|
306
|
+
proposer: AddressLike,
|
|
307
|
+
proposalTime: BigNumberish,
|
|
308
|
+
assertionId: BytesLike,
|
|
309
|
+
proposal: OptimisticGovernor.ProposalStruct,
|
|
310
|
+
proposalHash: BytesLike,
|
|
311
|
+
explanation: BytesLike,
|
|
312
|
+
rules: string,
|
|
313
|
+
challengeWindowEnds: BigNumberish
|
|
314
|
+
];
|
|
315
|
+
type OutputTuple = [
|
|
316
|
+
proposer: string,
|
|
317
|
+
proposalTime: bigint,
|
|
318
|
+
assertionId: string,
|
|
319
|
+
proposal: OptimisticGovernor.ProposalStructOutput,
|
|
320
|
+
proposalHash: string,
|
|
321
|
+
explanation: string,
|
|
322
|
+
rules: string,
|
|
323
|
+
challengeWindowEnds: bigint
|
|
324
|
+
];
|
|
325
|
+
interface OutputObject {
|
|
326
|
+
proposer: string;
|
|
327
|
+
proposalTime: bigint;
|
|
328
|
+
assertionId: string;
|
|
329
|
+
proposal: OptimisticGovernor.ProposalStructOutput;
|
|
330
|
+
proposalHash: string;
|
|
331
|
+
explanation: string;
|
|
332
|
+
rules: string;
|
|
333
|
+
challengeWindowEnds: bigint;
|
|
334
|
+
}
|
|
335
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
336
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
337
|
+
type Log = TypedEventLog<Event>;
|
|
338
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
339
|
+
}
|
|
340
|
+
export interface OptimisticGovernor extends BaseContract {
|
|
341
|
+
connect(runner?: ContractRunner | null): OptimisticGovernor;
|
|
342
|
+
waitForDeployment(): Promise<this>;
|
|
343
|
+
interface: OptimisticGovernorInterface;
|
|
344
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
345
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
346
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
347
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
348
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
349
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
350
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
351
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
352
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
353
|
+
EXPLANATION_KEY: TypedContractMethod<[], [string], "view">;
|
|
354
|
+
PROPOSAL_HASH_KEY: TypedContractMethod<[], [string], "view">;
|
|
355
|
+
RULES_KEY: TypedContractMethod<[], [string], "view">;
|
|
356
|
+
assertionDisputedCallback: TypedContractMethod<[
|
|
357
|
+
assertionId: BytesLike
|
|
358
|
+
], [
|
|
359
|
+
void
|
|
360
|
+
], "nonpayable">;
|
|
361
|
+
assertionIds: TypedContractMethod<[arg0: BytesLike], [string], "view">;
|
|
362
|
+
assertionResolvedCallback: TypedContractMethod<[
|
|
363
|
+
assertionId: BytesLike,
|
|
364
|
+
assertedTruthfully: boolean
|
|
365
|
+
], [
|
|
366
|
+
void
|
|
367
|
+
], "nonpayable">;
|
|
368
|
+
avatar: TypedContractMethod<[], [string], "view">;
|
|
369
|
+
bondAmount: TypedContractMethod<[], [bigint], "view">;
|
|
370
|
+
collateral: TypedContractMethod<[], [string], "view">;
|
|
371
|
+
deleteProposalOnUpgrade: TypedContractMethod<[
|
|
372
|
+
proposalHash: BytesLike
|
|
373
|
+
], [
|
|
374
|
+
void
|
|
375
|
+
], "nonpayable">;
|
|
376
|
+
escalationManager: TypedContractMethod<[], [string], "view">;
|
|
377
|
+
executeProposal: TypedContractMethod<[
|
|
378
|
+
transactions: OptimisticGovernor.TransactionStruct[]
|
|
379
|
+
], [
|
|
380
|
+
void
|
|
381
|
+
], "nonpayable">;
|
|
382
|
+
finder: TypedContractMethod<[], [string], "view">;
|
|
383
|
+
getCurrentTime: TypedContractMethod<[], [bigint], "view">;
|
|
384
|
+
getGuard: TypedContractMethod<[], [string], "view">;
|
|
385
|
+
getProposalBond: TypedContractMethod<[], [bigint], "view">;
|
|
386
|
+
guard: TypedContractMethod<[], [string], "view">;
|
|
387
|
+
identifier: TypedContractMethod<[], [string], "view">;
|
|
388
|
+
liveness: TypedContractMethod<[], [bigint], "view">;
|
|
389
|
+
optimisticOracleV3: TypedContractMethod<[], [string], "view">;
|
|
390
|
+
owner: TypedContractMethod<[], [string], "view">;
|
|
391
|
+
proposalHashes: TypedContractMethod<[arg0: BytesLike], [string], "view">;
|
|
392
|
+
proposeTransactions: TypedContractMethod<[
|
|
393
|
+
transactions: OptimisticGovernor.TransactionStruct[],
|
|
394
|
+
explanation: BytesLike
|
|
395
|
+
], [
|
|
396
|
+
void
|
|
397
|
+
], "nonpayable">;
|
|
398
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
399
|
+
rules: TypedContractMethod<[], [string], "view">;
|
|
400
|
+
setAvatar: TypedContractMethod<[_avatar: AddressLike], [void], "nonpayable">;
|
|
401
|
+
setCollateralAndBond: TypedContractMethod<[
|
|
402
|
+
_collateral: AddressLike,
|
|
403
|
+
_bondAmount: BigNumberish
|
|
404
|
+
], [
|
|
405
|
+
void
|
|
406
|
+
], "nonpayable">;
|
|
407
|
+
setEscalationManager: TypedContractMethod<[
|
|
408
|
+
_escalationManager: AddressLike
|
|
409
|
+
], [
|
|
410
|
+
void
|
|
411
|
+
], "nonpayable">;
|
|
412
|
+
setGuard: TypedContractMethod<[_guard: AddressLike], [void], "nonpayable">;
|
|
413
|
+
setIdentifier: TypedContractMethod<[
|
|
414
|
+
_identifier: BytesLike
|
|
415
|
+
], [
|
|
416
|
+
void
|
|
417
|
+
], "nonpayable">;
|
|
418
|
+
setLiveness: TypedContractMethod<[
|
|
419
|
+
_liveness: BigNumberish
|
|
420
|
+
], [
|
|
421
|
+
void
|
|
422
|
+
], "nonpayable">;
|
|
423
|
+
setRules: TypedContractMethod<[_rules: string], [void], "nonpayable">;
|
|
424
|
+
setTarget: TypedContractMethod<[_target: AddressLike], [void], "nonpayable">;
|
|
425
|
+
setUp: TypedContractMethod<[
|
|
426
|
+
initializeParams: BytesLike
|
|
427
|
+
], [
|
|
428
|
+
void
|
|
429
|
+
], "nonpayable">;
|
|
430
|
+
sync: TypedContractMethod<[], [void], "nonpayable">;
|
|
431
|
+
transferOwnership: TypedContractMethod<[
|
|
432
|
+
newOwner: AddressLike
|
|
433
|
+
], [
|
|
434
|
+
void
|
|
435
|
+
], "nonpayable">;
|
|
436
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
437
|
+
getFunction(nameOrSignature: "EXPLANATION_KEY"): TypedContractMethod<[], [string], "view">;
|
|
438
|
+
getFunction(nameOrSignature: "PROPOSAL_HASH_KEY"): TypedContractMethod<[], [string], "view">;
|
|
439
|
+
getFunction(nameOrSignature: "RULES_KEY"): TypedContractMethod<[], [string], "view">;
|
|
440
|
+
getFunction(nameOrSignature: "assertionDisputedCallback"): TypedContractMethod<[assertionId: BytesLike], [void], "nonpayable">;
|
|
441
|
+
getFunction(nameOrSignature: "assertionIds"): TypedContractMethod<[arg0: BytesLike], [string], "view">;
|
|
442
|
+
getFunction(nameOrSignature: "assertionResolvedCallback"): TypedContractMethod<[
|
|
443
|
+
assertionId: BytesLike,
|
|
444
|
+
assertedTruthfully: boolean
|
|
445
|
+
], [
|
|
446
|
+
void
|
|
447
|
+
], "nonpayable">;
|
|
448
|
+
getFunction(nameOrSignature: "avatar"): TypedContractMethod<[], [string], "view">;
|
|
449
|
+
getFunction(nameOrSignature: "bondAmount"): TypedContractMethod<[], [bigint], "view">;
|
|
450
|
+
getFunction(nameOrSignature: "collateral"): TypedContractMethod<[], [string], "view">;
|
|
451
|
+
getFunction(nameOrSignature: "deleteProposalOnUpgrade"): TypedContractMethod<[proposalHash: BytesLike], [void], "nonpayable">;
|
|
452
|
+
getFunction(nameOrSignature: "escalationManager"): TypedContractMethod<[], [string], "view">;
|
|
453
|
+
getFunction(nameOrSignature: "executeProposal"): TypedContractMethod<[
|
|
454
|
+
transactions: OptimisticGovernor.TransactionStruct[]
|
|
455
|
+
], [
|
|
456
|
+
void
|
|
457
|
+
], "nonpayable">;
|
|
458
|
+
getFunction(nameOrSignature: "finder"): TypedContractMethod<[], [string], "view">;
|
|
459
|
+
getFunction(nameOrSignature: "getCurrentTime"): TypedContractMethod<[], [bigint], "view">;
|
|
460
|
+
getFunction(nameOrSignature: "getGuard"): TypedContractMethod<[], [string], "view">;
|
|
461
|
+
getFunction(nameOrSignature: "getProposalBond"): TypedContractMethod<[], [bigint], "view">;
|
|
462
|
+
getFunction(nameOrSignature: "guard"): TypedContractMethod<[], [string], "view">;
|
|
463
|
+
getFunction(nameOrSignature: "identifier"): TypedContractMethod<[], [string], "view">;
|
|
464
|
+
getFunction(nameOrSignature: "liveness"): TypedContractMethod<[], [bigint], "view">;
|
|
465
|
+
getFunction(nameOrSignature: "optimisticOracleV3"): TypedContractMethod<[], [string], "view">;
|
|
466
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
467
|
+
getFunction(nameOrSignature: "proposalHashes"): TypedContractMethod<[arg0: BytesLike], [string], "view">;
|
|
468
|
+
getFunction(nameOrSignature: "proposeTransactions"): TypedContractMethod<[
|
|
469
|
+
transactions: OptimisticGovernor.TransactionStruct[],
|
|
470
|
+
explanation: BytesLike
|
|
471
|
+
], [
|
|
472
|
+
void
|
|
473
|
+
], "nonpayable">;
|
|
474
|
+
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
475
|
+
getFunction(nameOrSignature: "rules"): TypedContractMethod<[], [string], "view">;
|
|
476
|
+
getFunction(nameOrSignature: "setAvatar"): TypedContractMethod<[_avatar: AddressLike], [void], "nonpayable">;
|
|
477
|
+
getFunction(nameOrSignature: "setCollateralAndBond"): TypedContractMethod<[
|
|
478
|
+
_collateral: AddressLike,
|
|
479
|
+
_bondAmount: BigNumberish
|
|
480
|
+
], [
|
|
481
|
+
void
|
|
482
|
+
], "nonpayable">;
|
|
483
|
+
getFunction(nameOrSignature: "setEscalationManager"): TypedContractMethod<[
|
|
484
|
+
_escalationManager: AddressLike
|
|
485
|
+
], [
|
|
486
|
+
void
|
|
487
|
+
], "nonpayable">;
|
|
488
|
+
getFunction(nameOrSignature: "setGuard"): TypedContractMethod<[_guard: AddressLike], [void], "nonpayable">;
|
|
489
|
+
getFunction(nameOrSignature: "setIdentifier"): TypedContractMethod<[_identifier: BytesLike], [void], "nonpayable">;
|
|
490
|
+
getFunction(nameOrSignature: "setLiveness"): TypedContractMethod<[_liveness: BigNumberish], [void], "nonpayable">;
|
|
491
|
+
getFunction(nameOrSignature: "setRules"): TypedContractMethod<[_rules: string], [void], "nonpayable">;
|
|
492
|
+
getFunction(nameOrSignature: "setTarget"): TypedContractMethod<[_target: AddressLike], [void], "nonpayable">;
|
|
493
|
+
getFunction(nameOrSignature: "setUp"): TypedContractMethod<[initializeParams: BytesLike], [void], "nonpayable">;
|
|
494
|
+
getFunction(nameOrSignature: "sync"): TypedContractMethod<[], [void], "nonpayable">;
|
|
495
|
+
getFunction(nameOrSignature: "target"): TypedContractMethod<[], [string], "view">;
|
|
496
|
+
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
497
|
+
getEvent(key: "AvatarSet"): TypedContractEvent<AvatarSetEvent.InputTuple, AvatarSetEvent.OutputTuple, AvatarSetEvent.OutputObject>;
|
|
498
|
+
getEvent(key: "ChangedGuard"): TypedContractEvent<ChangedGuardEvent.InputTuple, ChangedGuardEvent.OutputTuple, ChangedGuardEvent.OutputObject>;
|
|
499
|
+
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
500
|
+
getEvent(key: "OptimisticGovernorDeployed"): TypedContractEvent<OptimisticGovernorDeployedEvent.InputTuple, OptimisticGovernorDeployedEvent.OutputTuple, OptimisticGovernorDeployedEvent.OutputObject>;
|
|
501
|
+
getEvent(key: "OptimisticOracleChanged"): TypedContractEvent<OptimisticOracleChangedEvent.InputTuple, OptimisticOracleChangedEvent.OutputTuple, OptimisticOracleChangedEvent.OutputObject>;
|
|
502
|
+
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
503
|
+
getEvent(key: "ProposalDeleted"): TypedContractEvent<ProposalDeletedEvent.InputTuple, ProposalDeletedEvent.OutputTuple, ProposalDeletedEvent.OutputObject>;
|
|
504
|
+
getEvent(key: "ProposalExecuted"): TypedContractEvent<ProposalExecutedEvent.InputTuple, ProposalExecutedEvent.OutputTuple, ProposalExecutedEvent.OutputObject>;
|
|
505
|
+
getEvent(key: "SetCollateralAndBond"): TypedContractEvent<SetCollateralAndBondEvent.InputTuple, SetCollateralAndBondEvent.OutputTuple, SetCollateralAndBondEvent.OutputObject>;
|
|
506
|
+
getEvent(key: "SetEscalationManager"): TypedContractEvent<SetEscalationManagerEvent.InputTuple, SetEscalationManagerEvent.OutputTuple, SetEscalationManagerEvent.OutputObject>;
|
|
507
|
+
getEvent(key: "SetIdentifier"): TypedContractEvent<SetIdentifierEvent.InputTuple, SetIdentifierEvent.OutputTuple, SetIdentifierEvent.OutputObject>;
|
|
508
|
+
getEvent(key: "SetLiveness"): TypedContractEvent<SetLivenessEvent.InputTuple, SetLivenessEvent.OutputTuple, SetLivenessEvent.OutputObject>;
|
|
509
|
+
getEvent(key: "SetRules"): TypedContractEvent<SetRulesEvent.InputTuple, SetRulesEvent.OutputTuple, SetRulesEvent.OutputObject>;
|
|
510
|
+
getEvent(key: "TargetSet"): TypedContractEvent<TargetSetEvent.InputTuple, TargetSetEvent.OutputTuple, TargetSetEvent.OutputObject>;
|
|
511
|
+
getEvent(key: "TransactionExecuted"): TypedContractEvent<TransactionExecutedEvent.InputTuple, TransactionExecutedEvent.OutputTuple, TransactionExecutedEvent.OutputObject>;
|
|
512
|
+
getEvent(key: "TransactionsProposed"): TypedContractEvent<TransactionsProposedEvent.InputTuple, TransactionsProposedEvent.OutputTuple, TransactionsProposedEvent.OutputObject>;
|
|
513
|
+
filters: {
|
|
514
|
+
"AvatarSet(address,address)": TypedContractEvent<AvatarSetEvent.InputTuple, AvatarSetEvent.OutputTuple, AvatarSetEvent.OutputObject>;
|
|
515
|
+
AvatarSet: TypedContractEvent<AvatarSetEvent.InputTuple, AvatarSetEvent.OutputTuple, AvatarSetEvent.OutputObject>;
|
|
516
|
+
"ChangedGuard(address)": TypedContractEvent<ChangedGuardEvent.InputTuple, ChangedGuardEvent.OutputTuple, ChangedGuardEvent.OutputObject>;
|
|
517
|
+
ChangedGuard: TypedContractEvent<ChangedGuardEvent.InputTuple, ChangedGuardEvent.OutputTuple, ChangedGuardEvent.OutputObject>;
|
|
518
|
+
"Initialized(uint8)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
519
|
+
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
520
|
+
"OptimisticGovernorDeployed(address,address,address)": TypedContractEvent<OptimisticGovernorDeployedEvent.InputTuple, OptimisticGovernorDeployedEvent.OutputTuple, OptimisticGovernorDeployedEvent.OutputObject>;
|
|
521
|
+
OptimisticGovernorDeployed: TypedContractEvent<OptimisticGovernorDeployedEvent.InputTuple, OptimisticGovernorDeployedEvent.OutputTuple, OptimisticGovernorDeployedEvent.OutputObject>;
|
|
522
|
+
"OptimisticOracleChanged(address)": TypedContractEvent<OptimisticOracleChangedEvent.InputTuple, OptimisticOracleChangedEvent.OutputTuple, OptimisticOracleChangedEvent.OutputObject>;
|
|
523
|
+
OptimisticOracleChanged: TypedContractEvent<OptimisticOracleChangedEvent.InputTuple, OptimisticOracleChangedEvent.OutputTuple, OptimisticOracleChangedEvent.OutputObject>;
|
|
524
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
525
|
+
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
526
|
+
"ProposalDeleted(bytes32,bytes32)": TypedContractEvent<ProposalDeletedEvent.InputTuple, ProposalDeletedEvent.OutputTuple, ProposalDeletedEvent.OutputObject>;
|
|
527
|
+
ProposalDeleted: TypedContractEvent<ProposalDeletedEvent.InputTuple, ProposalDeletedEvent.OutputTuple, ProposalDeletedEvent.OutputObject>;
|
|
528
|
+
"ProposalExecuted(bytes32,bytes32)": TypedContractEvent<ProposalExecutedEvent.InputTuple, ProposalExecutedEvent.OutputTuple, ProposalExecutedEvent.OutputObject>;
|
|
529
|
+
ProposalExecuted: TypedContractEvent<ProposalExecutedEvent.InputTuple, ProposalExecutedEvent.OutputTuple, ProposalExecutedEvent.OutputObject>;
|
|
530
|
+
"SetCollateralAndBond(address,uint256)": TypedContractEvent<SetCollateralAndBondEvent.InputTuple, SetCollateralAndBondEvent.OutputTuple, SetCollateralAndBondEvent.OutputObject>;
|
|
531
|
+
SetCollateralAndBond: TypedContractEvent<SetCollateralAndBondEvent.InputTuple, SetCollateralAndBondEvent.OutputTuple, SetCollateralAndBondEvent.OutputObject>;
|
|
532
|
+
"SetEscalationManager(address)": TypedContractEvent<SetEscalationManagerEvent.InputTuple, SetEscalationManagerEvent.OutputTuple, SetEscalationManagerEvent.OutputObject>;
|
|
533
|
+
SetEscalationManager: TypedContractEvent<SetEscalationManagerEvent.InputTuple, SetEscalationManagerEvent.OutputTuple, SetEscalationManagerEvent.OutputObject>;
|
|
534
|
+
"SetIdentifier(bytes32)": TypedContractEvent<SetIdentifierEvent.InputTuple, SetIdentifierEvent.OutputTuple, SetIdentifierEvent.OutputObject>;
|
|
535
|
+
SetIdentifier: TypedContractEvent<SetIdentifierEvent.InputTuple, SetIdentifierEvent.OutputTuple, SetIdentifierEvent.OutputObject>;
|
|
536
|
+
"SetLiveness(uint64)": TypedContractEvent<SetLivenessEvent.InputTuple, SetLivenessEvent.OutputTuple, SetLivenessEvent.OutputObject>;
|
|
537
|
+
SetLiveness: TypedContractEvent<SetLivenessEvent.InputTuple, SetLivenessEvent.OutputTuple, SetLivenessEvent.OutputObject>;
|
|
538
|
+
"SetRules(string)": TypedContractEvent<SetRulesEvent.InputTuple, SetRulesEvent.OutputTuple, SetRulesEvent.OutputObject>;
|
|
539
|
+
SetRules: TypedContractEvent<SetRulesEvent.InputTuple, SetRulesEvent.OutputTuple, SetRulesEvent.OutputObject>;
|
|
540
|
+
"TargetSet(address,address)": TypedContractEvent<TargetSetEvent.InputTuple, TargetSetEvent.OutputTuple, TargetSetEvent.OutputObject>;
|
|
541
|
+
TargetSet: TypedContractEvent<TargetSetEvent.InputTuple, TargetSetEvent.OutputTuple, TargetSetEvent.OutputObject>;
|
|
542
|
+
"TransactionExecuted(bytes32,bytes32,uint256)": TypedContractEvent<TransactionExecutedEvent.InputTuple, TransactionExecutedEvent.OutputTuple, TransactionExecutedEvent.OutputObject>;
|
|
543
|
+
TransactionExecuted: TypedContractEvent<TransactionExecutedEvent.InputTuple, TransactionExecutedEvent.OutputTuple, TransactionExecutedEvent.OutputObject>;
|
|
544
|
+
"TransactionsProposed(address,uint256,bytes32,tuple,bytes32,bytes,string,uint256)": TypedContractEvent<TransactionsProposedEvent.InputTuple, TransactionsProposedEvent.OutputTuple, TransactionsProposedEvent.OutputObject>;
|
|
545
|
+
TransactionsProposed: TypedContractEvent<TransactionsProposedEvent.InputTuple, TransactionsProposedEvent.OutputTuple, TransactionsProposedEvent.OutputObject>;
|
|
546
|
+
};
|
|
547
|
+
}
|