@agentsgot/agent-kit 0.0.0-stage → 1.0.0
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/ARCHITECTURE.md +5 -0
- package/README.md +13 -2
- package/dist/a2a.d.ts +35 -0
- package/dist/a2a.d.ts.map +1 -0
- package/dist/a2a.js +109 -0
- package/dist/a2a.js.map +1 -0
- package/dist/cli/binding.d.ts +24 -0
- package/dist/cli/binding.d.ts.map +1 -0
- package/dist/cli/binding.js +52 -0
- package/dist/cli/binding.js.map +1 -0
- package/dist/cli/commands.d.ts +18 -0
- package/dist/cli/commands.d.ts.map +1 -0
- package/dist/cli/commands.js +191 -0
- package/dist/cli/commands.js.map +1 -0
- package/dist/cli/context.d.ts +61 -0
- package/dist/cli/context.d.ts.map +1 -0
- package/dist/cli/context.js +147 -0
- package/dist/cli/context.js.map +1 -0
- package/dist/cli/doctor.d.ts +34 -0
- package/dist/cli/doctor.d.ts.map +1 -0
- package/dist/cli/doctor.js +109 -0
- package/dist/cli/doctor.js.map +1 -0
- package/dist/cli/home.d.ts +37 -0
- package/dist/cli/home.d.ts.map +1 -0
- package/dist/cli/home.js +77 -0
- package/dist/cli/home.js.map +1 -0
- package/dist/cli/index.d.ts +5 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +120 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/install.d.ts +19 -0
- package/dist/cli/install.d.ts.map +1 -0
- package/dist/cli/install.js +64 -0
- package/dist/cli/install.js.map +1 -0
- package/dist/cli/keystore.d.ts +25 -0
- package/dist/cli/keystore.d.ts.map +1 -0
- package/dist/cli/keystore.js +57 -0
- package/dist/cli/keystore.js.map +1 -0
- package/dist/cli/mcp.d.ts +7 -0
- package/dist/cli/mcp.d.ts.map +1 -0
- package/dist/cli/mcp.js +28 -0
- package/dist/cli/mcp.js.map +1 -0
- package/dist/cli/prompt.d.ts +10 -0
- package/dist/cli/prompt.d.ts.map +1 -0
- package/dist/cli/prompt.js +71 -0
- package/dist/cli/prompt.js.map +1 -0
- package/dist/cli/reports.d.ts +42 -0
- package/dist/cli/reports.d.ts.map +1 -0
- package/dist/cli/reports.js +121 -0
- package/dist/cli/reports.js.map +1 -0
- package/dist/cli/run.d.ts +21 -0
- package/dist/cli/run.d.ts.map +1 -0
- package/dist/cli/run.js +125 -0
- package/dist/cli/run.js.map +1 -0
- package/dist/cli/wallet.d.ts +19 -0
- package/dist/cli/wallet.d.ts.map +1 -0
- package/dist/cli/wallet.js +58 -0
- package/dist/cli/wallet.js.map +1 -0
- package/dist/guides.d.ts +7 -0
- package/dist/guides.d.ts.map +1 -0
- package/dist/guides.js +94 -0
- package/dist/guides.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/dist/llm.d.ts +16 -0
- package/dist/llm.d.ts.map +1 -0
- package/dist/llm.js +30 -0
- package/dist/llm.js.map +1 -0
- package/dist/mcp/cli.d.ts +3 -0
- package/dist/mcp/cli.d.ts.map +1 -0
- package/dist/mcp/cli.js +6 -0
- package/dist/mcp/cli.js.map +1 -0
- package/dist/mcp/server.d.ts +38 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +693 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/ports.d.ts +123 -0
- package/dist/ports.d.ts.map +1 -0
- package/dist/ports.js +134 -0
- package/dist/ports.js.map +1 -0
- package/dist/roles.d.ts +16 -0
- package/dist/roles.d.ts.map +1 -0
- package/dist/roles.js +49 -0
- package/dist/roles.js.map +1 -0
- package/dist/runner.d.ts +126 -0
- package/dist/runner.d.ts.map +1 -0
- package/dist/runner.js +292 -0
- package/dist/runner.js.map +1 -0
- package/dist/schedules.d.ts +34 -0
- package/dist/schedules.d.ts.map +1 -0
- package/dist/schedules.js +116 -0
- package/dist/schedules.js.map +1 -0
- package/dist/sdk/base64.d.ts +4 -0
- package/dist/sdk/base64.d.ts.map +1 -0
- package/dist/sdk/base64.js +15 -0
- package/dist/sdk/base64.js.map +1 -0
- package/dist/sdk/client.d.ts +198 -0
- package/dist/sdk/client.d.ts.map +1 -0
- package/dist/sdk/client.js +413 -0
- package/dist/sdk/client.js.map +1 -0
- package/dist/security.d.ts +10 -0
- package/dist/security.d.ts.map +1 -0
- package/dist/security.js +24 -0
- package/dist/security.js.map +1 -0
- package/dist/skills.d.ts +21 -0
- package/dist/skills.d.ts.map +1 -0
- package/dist/skills.js +93 -0
- package/dist/skills.js.map +1 -0
- package/dist/workers.d.ts +64 -0
- package/dist/workers.d.ts.map +1 -0
- package/dist/workers.js +127 -0
- package/dist/workers.js.map +1 -0
- package/dist/zip.d.ts +8 -0
- package/dist/zip.d.ts.map +1 -0
- package/dist/zip.js +80 -0
- package/dist/zip.js.map +1 -0
- package/docs/README.md +25 -0
- package/docs/architecture.md +18 -0
- package/docs/deployment.md +26 -0
- package/docs/reference/01-RULES.md +822 -0
- package/docs/reference/02-INTERFACES.md +487 -0
- package/docs/reference/03-STAKING-PENALTY-SPEC.md +739 -0
- package/docs/updates.md +61 -0
- package/docs/verification.md +72 -0
- package/package.json +87 -4
- package/skills/dist/agent-skills.json +68 -0
- package/skills/dist/arbitrator/SKILL.md +186 -0
- package/skills/dist/executor/SKILL.md +219 -0
- package/skills/dist/publisher/SKILL.md +172 -0
- package/skills/dist/tester/SKILL.md +198 -0
- package/vendor/shared/ARCHITECTURE.md +97 -0
- package/vendor/shared/README.md +5 -0
- package/vendor/shared/abi/index.js +2 -0
- package/vendor/shared/abi/index.ts +2 -0
- package/vendor/shared/abi/protocol/AgentRegistry.js +1623 -0
- package/vendor/shared/abi/protocol/AgentRegistry.json +1623 -0
- package/vendor/shared/abi/protocol/AgentRegistry.ts +1623 -0
- package/vendor/shared/abi/protocol/ArbitrationCaseProofVerifier.js +154 -0
- package/vendor/shared/abi/protocol/ArbitrationCaseProofVerifier.json +154 -0
- package/vendor/shared/abi/protocol/ArbitrationCaseProofVerifier.ts +154 -0
- package/vendor/shared/abi/protocol/ArbitrationCourt.js +1550 -0
- package/vendor/shared/abi/protocol/ArbitrationCourt.json +1550 -0
- package/vendor/shared/abi/protocol/ArbitrationCourt.ts +1550 -0
- package/vendor/shared/abi/protocol/ArbitrationPool.js +509 -0
- package/vendor/shared/abi/protocol/ArbitrationPool.json +509 -0
- package/vendor/shared/abi/protocol/ArbitrationPool.ts +509 -0
- package/vendor/shared/abi/protocol/ArbitrationProgressor.js +44 -0
- package/vendor/shared/abi/protocol/ArbitrationProgressor.json +44 -0
- package/vendor/shared/abi/protocol/ArbitrationProgressor.ts +44 -0
- package/vendor/shared/abi/protocol/ArbitrationSelection.js +1153 -0
- package/vendor/shared/abi/protocol/ArbitrationSelection.json +1153 -0
- package/vendor/shared/abi/protocol/ArbitrationSelection.ts +1153 -0
- package/vendor/shared/abi/protocol/ArbitrationSettlement.js +956 -0
- package/vendor/shared/abi/protocol/ArbitrationSettlement.json +956 -0
- package/vendor/shared/abi/protocol/ArbitrationSettlement.ts +956 -0
- package/vendor/shared/abi/protocol/ArbitrationStream.js +964 -0
- package/vendor/shared/abi/protocol/ArbitrationStream.json +964 -0
- package/vendor/shared/abi/protocol/ArbitrationStream.ts +964 -0
- package/vendor/shared/abi/protocol/EmissionController.js +1436 -0
- package/vendor/shared/abi/protocol/EmissionController.json +1436 -0
- package/vendor/shared/abi/protocol/EmissionController.ts +1436 -0
- package/vendor/shared/abi/protocol/HourlyAnchor.js +611 -0
- package/vendor/shared/abi/protocol/HourlyAnchor.json +611 -0
- package/vendor/shared/abi/protocol/HourlyAnchor.ts +611 -0
- package/vendor/shared/abi/protocol/IncentiveVault.js +480 -0
- package/vendor/shared/abi/protocol/IncentiveVault.json +480 -0
- package/vendor/shared/abi/protocol/IncentiveVault.ts +480 -0
- package/vendor/shared/abi/protocol/ParamRegistry.js +814 -0
- package/vendor/shared/abi/protocol/ParamRegistry.json +814 -0
- package/vendor/shared/abi/protocol/ParamRegistry.ts +814 -0
- package/vendor/shared/abi/protocol/PlatformTreasury.js +553 -0
- package/vendor/shared/abi/protocol/PlatformTreasury.json +553 -0
- package/vendor/shared/abi/protocol/PlatformTreasury.ts +553 -0
- package/vendor/shared/abi/protocol/ProtocolProof.js +1171 -0
- package/vendor/shared/abi/protocol/ProtocolProof.json +1171 -0
- package/vendor/shared/abi/protocol/ProtocolProof.ts +1171 -0
- package/vendor/shared/abi/protocol/PublisherStaking.js +1227 -0
- package/vendor/shared/abi/protocol/PublisherStaking.json +1227 -0
- package/vendor/shared/abi/protocol/PublisherStaking.ts +1227 -0
- package/vendor/shared/abi/protocol/RewardVesting.js +1027 -0
- package/vendor/shared/abi/protocol/RewardVesting.json +1027 -0
- package/vendor/shared/abi/protocol/RewardVesting.ts +1027 -0
- package/vendor/shared/abi/protocol/TaskEscrow.js +2219 -0
- package/vendor/shared/abi/protocol/TaskEscrow.json +2219 -0
- package/vendor/shared/abi/protocol/TaskEscrow.ts +2219 -0
- package/vendor/shared/abi/protocol/TesterAssignment.js +1375 -0
- package/vendor/shared/abi/protocol/TesterAssignment.json +1375 -0
- package/vendor/shared/abi/protocol/TesterAssignment.ts +1375 -0
- package/vendor/shared/abi/protocol/ValidatorStaking.js +1614 -0
- package/vendor/shared/abi/protocol/ValidatorStaking.json +1614 -0
- package/vendor/shared/abi/protocol/ValidatorStaking.ts +1614 -0
- package/vendor/shared/abi/protocol/index.js +19 -0
- package/vendor/shared/abi/protocol/index.ts +19 -0
- package/vendor/shared/abi/token/AGTToken.js +1018 -0
- package/vendor/shared/abi/token/AGTToken.json +1018 -0
- package/vendor/shared/abi/token/AGTToken.ts +1018 -0
- package/vendor/shared/abi/token/GenesisDistributor.js +242 -0
- package/vendor/shared/abi/token/GenesisDistributor.json +242 -0
- package/vendor/shared/abi/token/GenesisDistributor.ts +242 -0
- package/vendor/shared/abi/token/LPLocker.js +21 -0
- package/vendor/shared/abi/token/LPLocker.json +21 -0
- package/vendor/shared/abi/token/LPLocker.ts +21 -0
- package/vendor/shared/abi/token/LaunchLiquidity.js +335 -0
- package/vendor/shared/abi/token/LaunchLiquidity.json +335 -0
- package/vendor/shared/abi/token/LaunchLiquidity.ts +335 -0
- package/vendor/shared/abi/token/LiquidityAdder.js +228 -0
- package/vendor/shared/abi/token/LiquidityAdder.json +228 -0
- package/vendor/shared/abi/token/LiquidityAdder.ts +228 -0
- package/vendor/shared/abi/token/TaxDistributor.js +235 -0
- package/vendor/shared/abi/token/TaxDistributor.json +235 -0
- package/vendor/shared/abi/token/TaxDistributor.ts +235 -0
- package/vendor/shared/abi/token/TestFaucet.js +214 -0
- package/vendor/shared/abi/token/TestFaucet.json +214 -0
- package/vendor/shared/abi/token/TestFaucet.ts +214 -0
- package/vendor/shared/abi/token/index.js +7 -0
- package/vendor/shared/abi/token/index.ts +7 -0
- package/vendor/shared/dist/abi/index.d.ts +3 -0
- package/vendor/shared/dist/abi/index.d.ts.map +1 -0
- package/vendor/shared/dist/abi/index.js +3 -0
- package/vendor/shared/dist/abi/index.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/AgentRegistry.d.ts +1249 -0
- package/vendor/shared/dist/abi/protocol/AgentRegistry.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/AgentRegistry.js +1624 -0
- package/vendor/shared/dist/abi/protocol/AgentRegistry.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.d.ts +119 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.js +155 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCaseProofVerifier.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCourt.d.ts +1205 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCourt.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCourt.js +1551 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationCourt.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationPool.d.ts +391 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationPool.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationPool.js +510 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationPool.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.d.ts +34 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.js +45 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationProgressor.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSelection.d.ts +885 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSelection.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSelection.js +1154 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSelection.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.d.ts +742 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.js +957 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationSettlement.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationStream.d.ts +741 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationStream.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationStream.js +965 -0
- package/vendor/shared/dist/abi/protocol/ArbitrationStream.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/EmissionController.d.ts +1110 -0
- package/vendor/shared/dist/abi/protocol/EmissionController.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/EmissionController.js +1437 -0
- package/vendor/shared/dist/abi/protocol/EmissionController.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/HourlyAnchor.d.ts +467 -0
- package/vendor/shared/dist/abi/protocol/HourlyAnchor.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/HourlyAnchor.js +612 -0
- package/vendor/shared/dist/abi/protocol/HourlyAnchor.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/IncentiveVault.d.ts +369 -0
- package/vendor/shared/dist/abi/protocol/IncentiveVault.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/IncentiveVault.js +481 -0
- package/vendor/shared/dist/abi/protocol/IncentiveVault.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ParamRegistry.d.ts +628 -0
- package/vendor/shared/dist/abi/protocol/ParamRegistry.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ParamRegistry.js +815 -0
- package/vendor/shared/dist/abi/protocol/ParamRegistry.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/PlatformTreasury.d.ts +426 -0
- package/vendor/shared/dist/abi/protocol/PlatformTreasury.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/PlatformTreasury.js +554 -0
- package/vendor/shared/dist/abi/protocol/PlatformTreasury.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ProtocolProof.d.ts +903 -0
- package/vendor/shared/dist/abi/protocol/ProtocolProof.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ProtocolProof.js +1172 -0
- package/vendor/shared/dist/abi/protocol/ProtocolProof.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/PublisherStaking.d.ts +947 -0
- package/vendor/shared/dist/abi/protocol/PublisherStaking.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/PublisherStaking.js +1228 -0
- package/vendor/shared/dist/abi/protocol/PublisherStaking.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/RewardVesting.d.ts +793 -0
- package/vendor/shared/dist/abi/protocol/RewardVesting.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/RewardVesting.js +1028 -0
- package/vendor/shared/dist/abi/protocol/RewardVesting.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/TaskEscrow.d.ts +1725 -0
- package/vendor/shared/dist/abi/protocol/TaskEscrow.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/TaskEscrow.js +2220 -0
- package/vendor/shared/dist/abi/protocol/TaskEscrow.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/TesterAssignment.d.ts +1058 -0
- package/vendor/shared/dist/abi/protocol/TesterAssignment.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/TesterAssignment.js +1376 -0
- package/vendor/shared/dist/abi/protocol/TesterAssignment.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/ValidatorStaking.d.ts +1236 -0
- package/vendor/shared/dist/abi/protocol/ValidatorStaking.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/ValidatorStaking.js +1615 -0
- package/vendor/shared/dist/abi/protocol/ValidatorStaking.js.map +1 -0
- package/vendor/shared/dist/abi/protocol/index.d.ts +20 -0
- package/vendor/shared/dist/abi/protocol/index.d.ts.map +1 -0
- package/vendor/shared/dist/abi/protocol/index.js +20 -0
- package/vendor/shared/dist/abi/protocol/index.js.map +1 -0
- package/vendor/shared/dist/abi/token/AGTToken.d.ts +786 -0
- package/vendor/shared/dist/abi/token/AGTToken.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/AGTToken.js +1019 -0
- package/vendor/shared/dist/abi/token/AGTToken.js.map +1 -0
- package/vendor/shared/dist/abi/token/GenesisDistributor.d.ts +187 -0
- package/vendor/shared/dist/abi/token/GenesisDistributor.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/GenesisDistributor.js +243 -0
- package/vendor/shared/dist/abi/token/GenesisDistributor.js.map +1 -0
- package/vendor/shared/dist/abi/token/LPLocker.d.ts +16 -0
- package/vendor/shared/dist/abi/token/LPLocker.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/LPLocker.js +22 -0
- package/vendor/shared/dist/abi/token/LPLocker.js.map +1 -0
- package/vendor/shared/dist/abi/token/LaunchLiquidity.d.ts +260 -0
- package/vendor/shared/dist/abi/token/LaunchLiquidity.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/LaunchLiquidity.js +336 -0
- package/vendor/shared/dist/abi/token/LaunchLiquidity.js.map +1 -0
- package/vendor/shared/dist/abi/token/LiquidityAdder.d.ts +176 -0
- package/vendor/shared/dist/abi/token/LiquidityAdder.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/LiquidityAdder.js +229 -0
- package/vendor/shared/dist/abi/token/LiquidityAdder.js.map +1 -0
- package/vendor/shared/dist/abi/token/TaxDistributor.d.ts +182 -0
- package/vendor/shared/dist/abi/token/TaxDistributor.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/TaxDistributor.js +236 -0
- package/vendor/shared/dist/abi/token/TaxDistributor.js.map +1 -0
- package/vendor/shared/dist/abi/token/TestFaucet.d.ts +164 -0
- package/vendor/shared/dist/abi/token/TestFaucet.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/TestFaucet.js +215 -0
- package/vendor/shared/dist/abi/token/TestFaucet.js.map +1 -0
- package/vendor/shared/dist/abi/token/index.d.ts +8 -0
- package/vendor/shared/dist/abi/token/index.d.ts.map +1 -0
- package/vendor/shared/dist/abi/token/index.js +8 -0
- package/vendor/shared/dist/abi/token/index.js.map +1 -0
- package/vendor/shared/dist/emission-schedule.d.ts +51 -0
- package/vendor/shared/dist/emission-schedule.d.ts.map +1 -0
- package/vendor/shared/dist/emission-schedule.js +116 -0
- package/vendor/shared/dist/emission-schedule.js.map +1 -0
- package/vendor/shared/dist/index.d.ts +7 -0
- package/vendor/shared/dist/index.d.ts.map +1 -0
- package/vendor/shared/dist/index.js +7 -0
- package/vendor/shared/dist/index.js.map +1 -0
- package/vendor/shared/dist/params/index.d.ts +6 -0
- package/vendor/shared/dist/params/index.d.ts.map +1 -0
- package/vendor/shared/dist/params/index.js +84 -0
- package/vendor/shared/dist/params/index.js.map +1 -0
- package/vendor/shared/dist/protocol-proofs.d.ts +267 -0
- package/vendor/shared/dist/protocol-proofs.d.ts.map +1 -0
- package/vendor/shared/dist/protocol-proofs.js +205 -0
- package/vendor/shared/dist/protocol-proofs.js.map +1 -0
- package/vendor/shared/dist/rules/index.d.ts +204 -0
- package/vendor/shared/dist/rules/index.d.ts.map +1 -0
- package/vendor/shared/dist/rules/index.js +802 -0
- package/vendor/shared/dist/rules/index.js.map +1 -0
- package/vendor/shared/dist/rules/spec-content.d.ts +21 -0
- package/vendor/shared/dist/rules/spec-content.d.ts.map +1 -0
- package/vendor/shared/dist/rules/spec-content.js +90 -0
- package/vendor/shared/dist/rules/spec-content.js.map +1 -0
- package/vendor/shared/dist/rules/task-risk.d.ts +35 -0
- package/vendor/shared/dist/rules/task-risk.d.ts.map +1 -0
- package/vendor/shared/dist/rules/task-risk.js +438 -0
- package/vendor/shared/dist/rules/task-risk.js.map +1 -0
- package/vendor/shared/dist/schemas/domain.d.ts +195 -0
- package/vendor/shared/dist/schemas/domain.d.ts.map +1 -0
- package/vendor/shared/dist/schemas/domain.js +158 -0
- package/vendor/shared/dist/schemas/domain.js.map +1 -0
- package/vendor/shared/dist/schemas/draft.d.ts +730 -0
- package/vendor/shared/dist/schemas/draft.d.ts.map +1 -0
- package/vendor/shared/dist/schemas/draft.js +110 -0
- package/vendor/shared/dist/schemas/draft.js.map +1 -0
- package/vendor/shared/dist/schemas/enums.d.ts +130 -0
- package/vendor/shared/dist/schemas/enums.d.ts.map +1 -0
- package/vendor/shared/dist/schemas/enums.js +63 -0
- package/vendor/shared/dist/schemas/enums.js.map +1 -0
- package/vendor/shared/dist/schemas/index.d.ts +4 -0
- package/vendor/shared/dist/schemas/index.d.ts.map +1 -0
- package/vendor/shared/dist/schemas/index.js +4 -0
- package/vendor/shared/dist/schemas/index.js.map +1 -0
- package/vendor/shared/dist/units.d.ts +10 -0
- package/vendor/shared/dist/units.d.ts.map +1 -0
- package/vendor/shared/dist/units.js +44 -0
- package/vendor/shared/dist/units.js.map +1 -0
- package/vendor/shared/openapi.json +78754 -0
- package/vendor/shared/package.json +43 -0
- package/vendor/shared/params/params.json +152 -0
- package/vendor/shared/params/ranges.json +574 -0
- package/vendor/shared/src/emission-schedule.ts +151 -0
- package/vendor/shared/src/index.ts +6 -0
- package/vendor/shared/src/params/index.ts +139 -0
- package/vendor/shared/src/protocol-proofs.ts +235 -0
- package/vendor/shared/src/rules/index.ts +1081 -0
- package/vendor/shared/src/rules/spec-content.ts +120 -0
- package/vendor/shared/src/rules/task-risk.ts +550 -0
- package/vendor/shared/src/schemas/domain.ts +187 -0
- package/vendor/shared/src/schemas/draft.ts +141 -0
- package/vendor/shared/src/schemas/enums.ts +73 -0
- package/vendor/shared/src/schemas/index.ts +3 -0
- package/vendor/shared/src/units.ts +43 -0
- package/vendor/shared/test/emission-schedule.test.ts +115 -0
- package/vendor/shared/test/fixtures/emission-vectors.json +1055 -0
- package/vendor/shared/test/fixtures.ts +65 -0
- package/vendor/shared/test/params.test.ts +48 -0
- package/vendor/shared/test/properties.test.ts +136 -0
- package/vendor/shared/test/protocol-proofs.test.ts +88 -0
- package/vendor/shared/test/rules.test.ts +474 -0
- package/vendor/shared/test/schemas.test.ts +130 -0
- package/vendor/shared/test/task-risk.test.ts +489 -0
- package/vendor/shared/tsconfig.abi.json +11 -0
- package/vendor/shared/tsconfig.json +23 -0
- package/vendor/shared/types/api/index.d.ts +303 -0
- package/vendor/shared/vitest.config.ts +8 -0
|
@@ -0,0 +1,742 @@
|
|
|
1
|
+
export declare const arbitrationSettlementAbi: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "token_";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
readonly internalType: "contract IERC20";
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: "params_";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
readonly internalType: "contract IParamRegistry";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "validatorStaking_";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
readonly internalType: "contract IValidatorStaking";
|
|
15
|
+
}, {
|
|
16
|
+
readonly name: "pool_";
|
|
17
|
+
readonly type: "address";
|
|
18
|
+
readonly internalType: "contract IArbitrationPool";
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: "selection_";
|
|
21
|
+
readonly type: "address";
|
|
22
|
+
readonly internalType: "contract IArbitrationSelection";
|
|
23
|
+
}, {
|
|
24
|
+
readonly name: "voting_";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
readonly internalType: "contract IArbitrationVoting";
|
|
27
|
+
}, {
|
|
28
|
+
readonly name: "court_";
|
|
29
|
+
readonly type: "address";
|
|
30
|
+
readonly internalType: "address";
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "protocolProof_";
|
|
33
|
+
readonly type: "address";
|
|
34
|
+
readonly internalType: "contract IProtocolProof";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "platformTreasury_";
|
|
37
|
+
readonly type: "address";
|
|
38
|
+
readonly internalType: "contract IPlatformTreasury";
|
|
39
|
+
}];
|
|
40
|
+
readonly stateMutability: "nonpayable";
|
|
41
|
+
}, {
|
|
42
|
+
readonly type: "function";
|
|
43
|
+
readonly name: "PENALTY_FINAL_MINORITY";
|
|
44
|
+
readonly inputs: readonly [];
|
|
45
|
+
readonly outputs: readonly [{
|
|
46
|
+
readonly name: "";
|
|
47
|
+
readonly type: "uint8";
|
|
48
|
+
readonly internalType: "uint8";
|
|
49
|
+
}];
|
|
50
|
+
readonly stateMutability: "view";
|
|
51
|
+
}, {
|
|
52
|
+
readonly type: "function";
|
|
53
|
+
readonly name: "PENALTY_MISSED_COMMIT";
|
|
54
|
+
readonly inputs: readonly [];
|
|
55
|
+
readonly outputs: readonly [{
|
|
56
|
+
readonly name: "";
|
|
57
|
+
readonly type: "uint8";
|
|
58
|
+
readonly internalType: "uint8";
|
|
59
|
+
}];
|
|
60
|
+
readonly stateMutability: "view";
|
|
61
|
+
}, {
|
|
62
|
+
readonly type: "function";
|
|
63
|
+
readonly name: "PENALTY_MISSED_REVEAL";
|
|
64
|
+
readonly inputs: readonly [];
|
|
65
|
+
readonly outputs: readonly [{
|
|
66
|
+
readonly name: "";
|
|
67
|
+
readonly type: "uint8";
|
|
68
|
+
readonly internalType: "uint8";
|
|
69
|
+
}];
|
|
70
|
+
readonly stateMutability: "view";
|
|
71
|
+
}, {
|
|
72
|
+
readonly type: "function";
|
|
73
|
+
readonly name: "PENALTY_OVERTURNED";
|
|
74
|
+
readonly inputs: readonly [];
|
|
75
|
+
readonly outputs: readonly [{
|
|
76
|
+
readonly name: "";
|
|
77
|
+
readonly type: "uint8";
|
|
78
|
+
readonly internalType: "uint8";
|
|
79
|
+
}];
|
|
80
|
+
readonly stateMutability: "view";
|
|
81
|
+
}, {
|
|
82
|
+
readonly type: "function";
|
|
83
|
+
readonly name: "UPGRADER_ROLE";
|
|
84
|
+
readonly inputs: readonly [];
|
|
85
|
+
readonly outputs: readonly [{
|
|
86
|
+
readonly name: "";
|
|
87
|
+
readonly type: "bytes32";
|
|
88
|
+
readonly internalType: "bytes32";
|
|
89
|
+
}];
|
|
90
|
+
readonly stateMutability: "view";
|
|
91
|
+
}, {
|
|
92
|
+
readonly type: "function";
|
|
93
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
94
|
+
readonly inputs: readonly [];
|
|
95
|
+
readonly outputs: readonly [{
|
|
96
|
+
readonly name: "";
|
|
97
|
+
readonly type: "string";
|
|
98
|
+
readonly internalType: "string";
|
|
99
|
+
}];
|
|
100
|
+
readonly stateMutability: "view";
|
|
101
|
+
}, {
|
|
102
|
+
readonly type: "function";
|
|
103
|
+
readonly name: "cases";
|
|
104
|
+
readonly inputs: readonly [{
|
|
105
|
+
readonly name: "";
|
|
106
|
+
readonly type: "bytes32";
|
|
107
|
+
readonly internalType: "bytes32";
|
|
108
|
+
}];
|
|
109
|
+
readonly outputs: readonly [{
|
|
110
|
+
readonly name: "publisher";
|
|
111
|
+
readonly type: "address";
|
|
112
|
+
readonly internalType: "address";
|
|
113
|
+
}, {
|
|
114
|
+
readonly name: "executor";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
readonly internalType: "address";
|
|
117
|
+
}, {
|
|
118
|
+
readonly name: "appellant";
|
|
119
|
+
readonly type: "address";
|
|
120
|
+
readonly internalType: "address";
|
|
121
|
+
}, {
|
|
122
|
+
readonly name: "caseFee";
|
|
123
|
+
readonly type: "uint256";
|
|
124
|
+
readonly internalType: "uint256";
|
|
125
|
+
}, {
|
|
126
|
+
readonly name: "appealBond";
|
|
127
|
+
readonly type: "uint256";
|
|
128
|
+
readonly internalType: "uint256";
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "recorded";
|
|
131
|
+
readonly type: "bool";
|
|
132
|
+
readonly internalType: "bool";
|
|
133
|
+
}, {
|
|
134
|
+
readonly name: "executed";
|
|
135
|
+
readonly type: "bool";
|
|
136
|
+
readonly internalType: "bool";
|
|
137
|
+
}];
|
|
138
|
+
readonly stateMutability: "view";
|
|
139
|
+
}, {
|
|
140
|
+
readonly type: "function";
|
|
141
|
+
readonly name: "court";
|
|
142
|
+
readonly inputs: readonly [];
|
|
143
|
+
readonly outputs: readonly [{
|
|
144
|
+
readonly name: "";
|
|
145
|
+
readonly type: "address";
|
|
146
|
+
readonly internalType: "address";
|
|
147
|
+
}];
|
|
148
|
+
readonly stateMutability: "view";
|
|
149
|
+
}, {
|
|
150
|
+
readonly type: "function";
|
|
151
|
+
readonly name: "debtOf";
|
|
152
|
+
readonly inputs: readonly [{
|
|
153
|
+
readonly name: "executor";
|
|
154
|
+
readonly type: "address";
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
}];
|
|
157
|
+
readonly outputs: readonly [{
|
|
158
|
+
readonly name: "";
|
|
159
|
+
readonly type: "uint256";
|
|
160
|
+
readonly internalType: "uint256";
|
|
161
|
+
}];
|
|
162
|
+
readonly stateMutability: "view";
|
|
163
|
+
}, {
|
|
164
|
+
readonly type: "function";
|
|
165
|
+
readonly name: "executorDebt";
|
|
166
|
+
readonly inputs: readonly [{
|
|
167
|
+
readonly name: "";
|
|
168
|
+
readonly type: "address";
|
|
169
|
+
readonly internalType: "address";
|
|
170
|
+
}];
|
|
171
|
+
readonly outputs: readonly [{
|
|
172
|
+
readonly name: "";
|
|
173
|
+
readonly type: "uint256";
|
|
174
|
+
readonly internalType: "uint256";
|
|
175
|
+
}];
|
|
176
|
+
readonly stateMutability: "view";
|
|
177
|
+
}, {
|
|
178
|
+
readonly type: "function";
|
|
179
|
+
readonly name: "hasDebt";
|
|
180
|
+
readonly inputs: readonly [{
|
|
181
|
+
readonly name: "executor";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
readonly internalType: "address";
|
|
184
|
+
}];
|
|
185
|
+
readonly outputs: readonly [{
|
|
186
|
+
readonly name: "";
|
|
187
|
+
readonly type: "bool";
|
|
188
|
+
readonly internalType: "bool";
|
|
189
|
+
}];
|
|
190
|
+
readonly stateMutability: "view";
|
|
191
|
+
}, {
|
|
192
|
+
readonly type: "function";
|
|
193
|
+
readonly name: "initialize";
|
|
194
|
+
readonly inputs: readonly [];
|
|
195
|
+
readonly outputs: readonly [];
|
|
196
|
+
readonly stateMutability: "nonpayable";
|
|
197
|
+
}, {
|
|
198
|
+
readonly type: "function";
|
|
199
|
+
readonly name: "params";
|
|
200
|
+
readonly inputs: readonly [];
|
|
201
|
+
readonly outputs: readonly [{
|
|
202
|
+
readonly name: "";
|
|
203
|
+
readonly type: "address";
|
|
204
|
+
readonly internalType: "contract IParamRegistry";
|
|
205
|
+
}];
|
|
206
|
+
readonly stateMutability: "view";
|
|
207
|
+
}, {
|
|
208
|
+
readonly type: "function";
|
|
209
|
+
readonly name: "payPanelShare";
|
|
210
|
+
readonly inputs: readonly [{
|
|
211
|
+
readonly name: "caseId";
|
|
212
|
+
readonly type: "bytes32";
|
|
213
|
+
readonly internalType: "bytes32";
|
|
214
|
+
}, {
|
|
215
|
+
readonly name: "amount";
|
|
216
|
+
readonly type: "uint256";
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
}];
|
|
219
|
+
readonly outputs: readonly [];
|
|
220
|
+
readonly stateMutability: "nonpayable";
|
|
221
|
+
}, {
|
|
222
|
+
readonly type: "function";
|
|
223
|
+
readonly name: "platformTreasury";
|
|
224
|
+
readonly inputs: readonly [];
|
|
225
|
+
readonly outputs: readonly [{
|
|
226
|
+
readonly name: "";
|
|
227
|
+
readonly type: "address";
|
|
228
|
+
readonly internalType: "contract IPlatformTreasury";
|
|
229
|
+
}];
|
|
230
|
+
readonly stateMutability: "view";
|
|
231
|
+
}, {
|
|
232
|
+
readonly type: "function";
|
|
233
|
+
readonly name: "pool";
|
|
234
|
+
readonly inputs: readonly [];
|
|
235
|
+
readonly outputs: readonly [{
|
|
236
|
+
readonly name: "";
|
|
237
|
+
readonly type: "address";
|
|
238
|
+
readonly internalType: "contract IArbitrationPool";
|
|
239
|
+
}];
|
|
240
|
+
readonly stateMutability: "view";
|
|
241
|
+
}, {
|
|
242
|
+
readonly type: "function";
|
|
243
|
+
readonly name: "protocolProof";
|
|
244
|
+
readonly inputs: readonly [];
|
|
245
|
+
readonly outputs: readonly [{
|
|
246
|
+
readonly name: "";
|
|
247
|
+
readonly type: "address";
|
|
248
|
+
readonly internalType: "contract IProtocolProof";
|
|
249
|
+
}];
|
|
250
|
+
readonly stateMutability: "view";
|
|
251
|
+
}, {
|
|
252
|
+
readonly type: "function";
|
|
253
|
+
readonly name: "proxiableUUID";
|
|
254
|
+
readonly inputs: readonly [];
|
|
255
|
+
readonly outputs: readonly [{
|
|
256
|
+
readonly name: "";
|
|
257
|
+
readonly type: "bytes32";
|
|
258
|
+
readonly internalType: "bytes32";
|
|
259
|
+
}];
|
|
260
|
+
readonly stateMutability: "view";
|
|
261
|
+
}, {
|
|
262
|
+
readonly type: "function";
|
|
263
|
+
readonly name: "recordAppeal";
|
|
264
|
+
readonly inputs: readonly [{
|
|
265
|
+
readonly name: "caseId";
|
|
266
|
+
readonly type: "bytes32";
|
|
267
|
+
readonly internalType: "bytes32";
|
|
268
|
+
}, {
|
|
269
|
+
readonly name: "appellant";
|
|
270
|
+
readonly type: "address";
|
|
271
|
+
readonly internalType: "address";
|
|
272
|
+
}, {
|
|
273
|
+
readonly name: "appealBond";
|
|
274
|
+
readonly type: "uint256";
|
|
275
|
+
readonly internalType: "uint256";
|
|
276
|
+
}];
|
|
277
|
+
readonly outputs: readonly [];
|
|
278
|
+
readonly stateMutability: "nonpayable";
|
|
279
|
+
}, {
|
|
280
|
+
readonly type: "function";
|
|
281
|
+
readonly name: "recordCase";
|
|
282
|
+
readonly inputs: readonly [{
|
|
283
|
+
readonly name: "caseId";
|
|
284
|
+
readonly type: "bytes32";
|
|
285
|
+
readonly internalType: "bytes32";
|
|
286
|
+
}, {
|
|
287
|
+
readonly name: "publisher";
|
|
288
|
+
readonly type: "address";
|
|
289
|
+
readonly internalType: "address";
|
|
290
|
+
}, {
|
|
291
|
+
readonly name: "executor";
|
|
292
|
+
readonly type: "address";
|
|
293
|
+
readonly internalType: "address";
|
|
294
|
+
}, {
|
|
295
|
+
readonly name: "caseFee";
|
|
296
|
+
readonly type: "uint256";
|
|
297
|
+
readonly internalType: "uint256";
|
|
298
|
+
}];
|
|
299
|
+
readonly outputs: readonly [];
|
|
300
|
+
readonly stateMutability: "nonpayable";
|
|
301
|
+
}, {
|
|
302
|
+
readonly type: "function";
|
|
303
|
+
readonly name: "repayDebtFor";
|
|
304
|
+
readonly inputs: readonly [{
|
|
305
|
+
readonly name: "executor";
|
|
306
|
+
readonly type: "address";
|
|
307
|
+
readonly internalType: "address";
|
|
308
|
+
}, {
|
|
309
|
+
readonly name: "amount";
|
|
310
|
+
readonly type: "uint256";
|
|
311
|
+
readonly internalType: "uint256";
|
|
312
|
+
}];
|
|
313
|
+
readonly outputs: readonly [];
|
|
314
|
+
readonly stateMutability: "nonpayable";
|
|
315
|
+
}, {
|
|
316
|
+
readonly type: "function";
|
|
317
|
+
readonly name: "reportCollusion";
|
|
318
|
+
readonly inputs: readonly [{
|
|
319
|
+
readonly name: "juror";
|
|
320
|
+
readonly type: "address";
|
|
321
|
+
readonly internalType: "address";
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: "evidenceHash";
|
|
324
|
+
readonly type: "bytes32";
|
|
325
|
+
readonly internalType: "bytes32";
|
|
326
|
+
}, {
|
|
327
|
+
readonly name: "nonce";
|
|
328
|
+
readonly type: "uint256";
|
|
329
|
+
readonly internalType: "uint256";
|
|
330
|
+
}, {
|
|
331
|
+
readonly name: "deadline";
|
|
332
|
+
readonly type: "uint64";
|
|
333
|
+
readonly internalType: "uint64";
|
|
334
|
+
}, {
|
|
335
|
+
readonly name: "signature";
|
|
336
|
+
readonly type: "bytes";
|
|
337
|
+
readonly internalType: "bytes";
|
|
338
|
+
}];
|
|
339
|
+
readonly outputs: readonly [{
|
|
340
|
+
readonly name: "amount";
|
|
341
|
+
readonly type: "uint256";
|
|
342
|
+
readonly internalType: "uint256";
|
|
343
|
+
}];
|
|
344
|
+
readonly stateMutability: "nonpayable";
|
|
345
|
+
}, {
|
|
346
|
+
readonly type: "function";
|
|
347
|
+
readonly name: "resolve";
|
|
348
|
+
readonly inputs: readonly [{
|
|
349
|
+
readonly name: "resolution";
|
|
350
|
+
readonly type: "tuple";
|
|
351
|
+
readonly internalType: "struct IArbitrationSettlement.ResolutionArgs";
|
|
352
|
+
readonly components: readonly [{
|
|
353
|
+
readonly name: "caseId";
|
|
354
|
+
readonly type: "bytes32";
|
|
355
|
+
readonly internalType: "bytes32";
|
|
356
|
+
}, {
|
|
357
|
+
readonly name: "awardBps";
|
|
358
|
+
readonly type: "uint16";
|
|
359
|
+
readonly internalType: "uint16";
|
|
360
|
+
}, {
|
|
361
|
+
readonly name: "firstAwardBps";
|
|
362
|
+
readonly type: "uint16";
|
|
363
|
+
readonly internalType: "uint16";
|
|
364
|
+
}, {
|
|
365
|
+
readonly name: "appealed";
|
|
366
|
+
readonly type: "bool";
|
|
367
|
+
readonly internalType: "bool";
|
|
368
|
+
}, {
|
|
369
|
+
readonly name: "overturned";
|
|
370
|
+
readonly type: "bool";
|
|
371
|
+
readonly internalType: "bool";
|
|
372
|
+
}, {
|
|
373
|
+
readonly name: "finalRound";
|
|
374
|
+
readonly type: "bool";
|
|
375
|
+
readonly internalType: "bool";
|
|
376
|
+
}];
|
|
377
|
+
}, {
|
|
378
|
+
readonly name: "currentPanel";
|
|
379
|
+
readonly type: "address[]";
|
|
380
|
+
readonly internalType: "address[]";
|
|
381
|
+
}, {
|
|
382
|
+
readonly name: "firstPanel";
|
|
383
|
+
readonly type: "address[]";
|
|
384
|
+
readonly internalType: "address[]";
|
|
385
|
+
}];
|
|
386
|
+
readonly outputs: readonly [];
|
|
387
|
+
readonly stateMutability: "nonpayable";
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "function";
|
|
390
|
+
readonly name: "rulingMajority";
|
|
391
|
+
readonly inputs: readonly [{
|
|
392
|
+
readonly name: "caseId";
|
|
393
|
+
readonly type: "bytes32";
|
|
394
|
+
readonly internalType: "bytes32";
|
|
395
|
+
}];
|
|
396
|
+
readonly outputs: readonly [{
|
|
397
|
+
readonly name: "";
|
|
398
|
+
readonly type: "address[]";
|
|
399
|
+
readonly internalType: "address[]";
|
|
400
|
+
}];
|
|
401
|
+
readonly stateMutability: "view";
|
|
402
|
+
}, {
|
|
403
|
+
readonly type: "function";
|
|
404
|
+
readonly name: "selection";
|
|
405
|
+
readonly inputs: readonly [];
|
|
406
|
+
readonly outputs: readonly [{
|
|
407
|
+
readonly name: "";
|
|
408
|
+
readonly type: "address";
|
|
409
|
+
readonly internalType: "contract IArbitrationSelection";
|
|
410
|
+
}];
|
|
411
|
+
readonly stateMutability: "view";
|
|
412
|
+
}, {
|
|
413
|
+
readonly type: "function";
|
|
414
|
+
readonly name: "token";
|
|
415
|
+
readonly inputs: readonly [];
|
|
416
|
+
readonly outputs: readonly [{
|
|
417
|
+
readonly name: "";
|
|
418
|
+
readonly type: "address";
|
|
419
|
+
readonly internalType: "contract IERC20";
|
|
420
|
+
}];
|
|
421
|
+
readonly stateMutability: "view";
|
|
422
|
+
}, {
|
|
423
|
+
readonly type: "function";
|
|
424
|
+
readonly name: "upgradeToAndCall";
|
|
425
|
+
readonly inputs: readonly [{
|
|
426
|
+
readonly name: "newImplementation";
|
|
427
|
+
readonly type: "address";
|
|
428
|
+
readonly internalType: "address";
|
|
429
|
+
}, {
|
|
430
|
+
readonly name: "data";
|
|
431
|
+
readonly type: "bytes";
|
|
432
|
+
readonly internalType: "bytes";
|
|
433
|
+
}];
|
|
434
|
+
readonly outputs: readonly [];
|
|
435
|
+
readonly stateMutability: "payable";
|
|
436
|
+
}, {
|
|
437
|
+
readonly type: "function";
|
|
438
|
+
readonly name: "validatorStaking";
|
|
439
|
+
readonly inputs: readonly [];
|
|
440
|
+
readonly outputs: readonly [{
|
|
441
|
+
readonly name: "";
|
|
442
|
+
readonly type: "address";
|
|
443
|
+
readonly internalType: "contract IValidatorStaking";
|
|
444
|
+
}];
|
|
445
|
+
readonly stateMutability: "view";
|
|
446
|
+
}, {
|
|
447
|
+
readonly type: "function";
|
|
448
|
+
readonly name: "voting";
|
|
449
|
+
readonly inputs: readonly [];
|
|
450
|
+
readonly outputs: readonly [{
|
|
451
|
+
readonly name: "";
|
|
452
|
+
readonly type: "address";
|
|
453
|
+
readonly internalType: "contract IArbitrationVoting";
|
|
454
|
+
}];
|
|
455
|
+
readonly stateMutability: "view";
|
|
456
|
+
}, {
|
|
457
|
+
readonly type: "event";
|
|
458
|
+
readonly name: "CaseFundsExecuted";
|
|
459
|
+
readonly inputs: readonly [{
|
|
460
|
+
readonly name: "caseId";
|
|
461
|
+
readonly type: "bytes32";
|
|
462
|
+
readonly indexed: true;
|
|
463
|
+
readonly internalType: "bytes32";
|
|
464
|
+
}, {
|
|
465
|
+
readonly name: "awardBps";
|
|
466
|
+
readonly type: "uint16";
|
|
467
|
+
readonly indexed: false;
|
|
468
|
+
readonly internalType: "uint16";
|
|
469
|
+
}, {
|
|
470
|
+
readonly name: "appealed";
|
|
471
|
+
readonly type: "bool";
|
|
472
|
+
readonly indexed: false;
|
|
473
|
+
readonly internalType: "bool";
|
|
474
|
+
}, {
|
|
475
|
+
readonly name: "overturned";
|
|
476
|
+
readonly type: "bool";
|
|
477
|
+
readonly indexed: false;
|
|
478
|
+
readonly internalType: "bool";
|
|
479
|
+
}];
|
|
480
|
+
readonly anonymous: false;
|
|
481
|
+
}, {
|
|
482
|
+
readonly type: "event";
|
|
483
|
+
readonly name: "CollusionSlashed";
|
|
484
|
+
readonly inputs: readonly [{
|
|
485
|
+
readonly name: "juror";
|
|
486
|
+
readonly type: "address";
|
|
487
|
+
readonly indexed: true;
|
|
488
|
+
readonly internalType: "address";
|
|
489
|
+
}, {
|
|
490
|
+
readonly name: "reporter";
|
|
491
|
+
readonly type: "address";
|
|
492
|
+
readonly indexed: true;
|
|
493
|
+
readonly internalType: "address";
|
|
494
|
+
}, {
|
|
495
|
+
readonly name: "amount";
|
|
496
|
+
readonly type: "uint256";
|
|
497
|
+
readonly indexed: false;
|
|
498
|
+
readonly internalType: "uint256";
|
|
499
|
+
}];
|
|
500
|
+
readonly anonymous: false;
|
|
501
|
+
}, {
|
|
502
|
+
readonly type: "event";
|
|
503
|
+
readonly name: "ExecutorDebtRecorded";
|
|
504
|
+
readonly inputs: readonly [{
|
|
505
|
+
readonly name: "executor";
|
|
506
|
+
readonly type: "address";
|
|
507
|
+
readonly indexed: true;
|
|
508
|
+
readonly internalType: "address";
|
|
509
|
+
}, {
|
|
510
|
+
readonly name: "caseId";
|
|
511
|
+
readonly type: "bytes32";
|
|
512
|
+
readonly indexed: true;
|
|
513
|
+
readonly internalType: "bytes32";
|
|
514
|
+
}, {
|
|
515
|
+
readonly name: "amount";
|
|
516
|
+
readonly type: "uint256";
|
|
517
|
+
readonly indexed: false;
|
|
518
|
+
readonly internalType: "uint256";
|
|
519
|
+
}];
|
|
520
|
+
readonly anonymous: false;
|
|
521
|
+
}, {
|
|
522
|
+
readonly type: "event";
|
|
523
|
+
readonly name: "ExecutorDebtRepaid";
|
|
524
|
+
readonly inputs: readonly [{
|
|
525
|
+
readonly name: "executor";
|
|
526
|
+
readonly type: "address";
|
|
527
|
+
readonly indexed: true;
|
|
528
|
+
readonly internalType: "address";
|
|
529
|
+
}, {
|
|
530
|
+
readonly name: "amount";
|
|
531
|
+
readonly type: "uint256";
|
|
532
|
+
readonly indexed: false;
|
|
533
|
+
readonly internalType: "uint256";
|
|
534
|
+
}];
|
|
535
|
+
readonly anonymous: false;
|
|
536
|
+
}, {
|
|
537
|
+
readonly type: "event";
|
|
538
|
+
readonly name: "Initialized";
|
|
539
|
+
readonly inputs: readonly [{
|
|
540
|
+
readonly name: "version";
|
|
541
|
+
readonly type: "uint64";
|
|
542
|
+
readonly indexed: false;
|
|
543
|
+
readonly internalType: "uint64";
|
|
544
|
+
}];
|
|
545
|
+
readonly anonymous: false;
|
|
546
|
+
}, {
|
|
547
|
+
readonly type: "event";
|
|
548
|
+
readonly name: "JurorPenalized";
|
|
549
|
+
readonly inputs: readonly [{
|
|
550
|
+
readonly name: "caseId";
|
|
551
|
+
readonly type: "bytes32";
|
|
552
|
+
readonly indexed: true;
|
|
553
|
+
readonly internalType: "bytes32";
|
|
554
|
+
}, {
|
|
555
|
+
readonly name: "juror";
|
|
556
|
+
readonly type: "address";
|
|
557
|
+
readonly indexed: true;
|
|
558
|
+
readonly internalType: "address";
|
|
559
|
+
}, {
|
|
560
|
+
readonly name: "reason";
|
|
561
|
+
readonly type: "uint8";
|
|
562
|
+
readonly indexed: true;
|
|
563
|
+
readonly internalType: "uint8";
|
|
564
|
+
}, {
|
|
565
|
+
readonly name: "amount";
|
|
566
|
+
readonly type: "uint256";
|
|
567
|
+
readonly indexed: false;
|
|
568
|
+
readonly internalType: "uint256";
|
|
569
|
+
}];
|
|
570
|
+
readonly anonymous: false;
|
|
571
|
+
}, {
|
|
572
|
+
readonly type: "event";
|
|
573
|
+
readonly name: "OverturnPenaltyDistributed";
|
|
574
|
+
readonly inputs: readonly [{
|
|
575
|
+
readonly name: "caseId";
|
|
576
|
+
readonly type: "bytes32";
|
|
577
|
+
readonly indexed: true;
|
|
578
|
+
readonly internalType: "bytes32";
|
|
579
|
+
}, {
|
|
580
|
+
readonly name: "total";
|
|
581
|
+
readonly type: "uint256";
|
|
582
|
+
readonly indexed: false;
|
|
583
|
+
readonly internalType: "uint256";
|
|
584
|
+
}, {
|
|
585
|
+
readonly name: "challengerAmount";
|
|
586
|
+
readonly type: "uint256";
|
|
587
|
+
readonly indexed: false;
|
|
588
|
+
readonly internalType: "uint256";
|
|
589
|
+
}, {
|
|
590
|
+
readonly name: "platformAmount";
|
|
591
|
+
readonly type: "uint256";
|
|
592
|
+
readonly indexed: false;
|
|
593
|
+
readonly internalType: "uint256";
|
|
594
|
+
}, {
|
|
595
|
+
readonly name: "righteousAmount";
|
|
596
|
+
readonly type: "uint256";
|
|
597
|
+
readonly indexed: false;
|
|
598
|
+
readonly internalType: "uint256";
|
|
599
|
+
}, {
|
|
600
|
+
readonly name: "righteousCount";
|
|
601
|
+
readonly type: "uint256";
|
|
602
|
+
readonly indexed: false;
|
|
603
|
+
readonly internalType: "uint256";
|
|
604
|
+
}];
|
|
605
|
+
readonly anonymous: false;
|
|
606
|
+
}, {
|
|
607
|
+
readonly type: "event";
|
|
608
|
+
readonly name: "PanelSharePaid";
|
|
609
|
+
readonly inputs: readonly [{
|
|
610
|
+
readonly name: "caseId";
|
|
611
|
+
readonly type: "bytes32";
|
|
612
|
+
readonly indexed: true;
|
|
613
|
+
readonly internalType: "bytes32";
|
|
614
|
+
}, {
|
|
615
|
+
readonly name: "amount";
|
|
616
|
+
readonly type: "uint256";
|
|
617
|
+
readonly indexed: false;
|
|
618
|
+
readonly internalType: "uint256";
|
|
619
|
+
}, {
|
|
620
|
+
readonly name: "perJuror";
|
|
621
|
+
readonly type: "uint256";
|
|
622
|
+
readonly indexed: false;
|
|
623
|
+
readonly internalType: "uint256";
|
|
624
|
+
}, {
|
|
625
|
+
readonly name: "jurors";
|
|
626
|
+
readonly type: "uint256";
|
|
627
|
+
readonly indexed: false;
|
|
628
|
+
readonly internalType: "uint256";
|
|
629
|
+
}];
|
|
630
|
+
readonly anonymous: false;
|
|
631
|
+
}, {
|
|
632
|
+
readonly type: "event";
|
|
633
|
+
readonly name: "Upgraded";
|
|
634
|
+
readonly inputs: readonly [{
|
|
635
|
+
readonly name: "implementation";
|
|
636
|
+
readonly type: "address";
|
|
637
|
+
readonly indexed: true;
|
|
638
|
+
readonly internalType: "address";
|
|
639
|
+
}];
|
|
640
|
+
readonly anonymous: false;
|
|
641
|
+
}, {
|
|
642
|
+
readonly type: "error";
|
|
643
|
+
readonly name: "AddressEmptyCode";
|
|
644
|
+
readonly inputs: readonly [{
|
|
645
|
+
readonly name: "target";
|
|
646
|
+
readonly type: "address";
|
|
647
|
+
readonly internalType: "address";
|
|
648
|
+
}];
|
|
649
|
+
}, {
|
|
650
|
+
readonly type: "error";
|
|
651
|
+
readonly name: "AddressInsufficientBalance";
|
|
652
|
+
readonly inputs: readonly [{
|
|
653
|
+
readonly name: "account";
|
|
654
|
+
readonly type: "address";
|
|
655
|
+
readonly internalType: "address";
|
|
656
|
+
}];
|
|
657
|
+
}, {
|
|
658
|
+
readonly type: "error";
|
|
659
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
660
|
+
readonly inputs: readonly [{
|
|
661
|
+
readonly name: "implementation";
|
|
662
|
+
readonly type: "address";
|
|
663
|
+
readonly internalType: "address";
|
|
664
|
+
}];
|
|
665
|
+
}, {
|
|
666
|
+
readonly type: "error";
|
|
667
|
+
readonly name: "ERC1967NonPayable";
|
|
668
|
+
readonly inputs: readonly [];
|
|
669
|
+
}, {
|
|
670
|
+
readonly type: "error";
|
|
671
|
+
readonly name: "FailedInnerCall";
|
|
672
|
+
readonly inputs: readonly [];
|
|
673
|
+
}, {
|
|
674
|
+
readonly type: "error";
|
|
675
|
+
readonly name: "InvalidAddress";
|
|
676
|
+
readonly inputs: readonly [];
|
|
677
|
+
}, {
|
|
678
|
+
readonly type: "error";
|
|
679
|
+
readonly name: "InvalidAmount";
|
|
680
|
+
readonly inputs: readonly [];
|
|
681
|
+
}, {
|
|
682
|
+
readonly type: "error";
|
|
683
|
+
readonly name: "InvalidDistribution";
|
|
684
|
+
readonly inputs: readonly [];
|
|
685
|
+
}, {
|
|
686
|
+
readonly type: "error";
|
|
687
|
+
readonly name: "InvalidInitialization";
|
|
688
|
+
readonly inputs: readonly [];
|
|
689
|
+
}, {
|
|
690
|
+
readonly type: "error";
|
|
691
|
+
readonly name: "InvalidState";
|
|
692
|
+
readonly inputs: readonly [{
|
|
693
|
+
readonly name: "caseId";
|
|
694
|
+
readonly type: "bytes32";
|
|
695
|
+
readonly internalType: "bytes32";
|
|
696
|
+
}];
|
|
697
|
+
}, {
|
|
698
|
+
readonly type: "error";
|
|
699
|
+
readonly name: "NotCourt";
|
|
700
|
+
readonly inputs: readonly [{
|
|
701
|
+
readonly name: "caller";
|
|
702
|
+
readonly type: "address";
|
|
703
|
+
readonly internalType: "address";
|
|
704
|
+
}];
|
|
705
|
+
}, {
|
|
706
|
+
readonly type: "error";
|
|
707
|
+
readonly name: "NotInitializing";
|
|
708
|
+
readonly inputs: readonly [];
|
|
709
|
+
}, {
|
|
710
|
+
readonly type: "error";
|
|
711
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
712
|
+
readonly inputs: readonly [];
|
|
713
|
+
}, {
|
|
714
|
+
readonly type: "error";
|
|
715
|
+
readonly name: "SafeERC20FailedOperation";
|
|
716
|
+
readonly inputs: readonly [{
|
|
717
|
+
readonly name: "token";
|
|
718
|
+
readonly type: "address";
|
|
719
|
+
readonly internalType: "address";
|
|
720
|
+
}];
|
|
721
|
+
}, {
|
|
722
|
+
readonly type: "error";
|
|
723
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
724
|
+
readonly inputs: readonly [];
|
|
725
|
+
}, {
|
|
726
|
+
readonly type: "error";
|
|
727
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
728
|
+
readonly inputs: readonly [{
|
|
729
|
+
readonly name: "slot";
|
|
730
|
+
readonly type: "bytes32";
|
|
731
|
+
readonly internalType: "bytes32";
|
|
732
|
+
}];
|
|
733
|
+
}, {
|
|
734
|
+
readonly type: "error";
|
|
735
|
+
readonly name: "UpgradeUnauthorized";
|
|
736
|
+
readonly inputs: readonly [{
|
|
737
|
+
readonly name: "caller";
|
|
738
|
+
readonly type: "address";
|
|
739
|
+
readonly internalType: "address";
|
|
740
|
+
}];
|
|
741
|
+
}];
|
|
742
|
+
//# sourceMappingURL=ArbitrationSettlement.d.ts.map
|