@wangwuww/neo-market-cli 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -0
- package/SKILL.md +81 -0
- package/artifacts/contracts/AgentRegistry.sol/AgentRegistry.dbg.json +4 -0
- package/artifacts/contracts/AgentRegistry.sol/AgentRegistry.json +400 -0
- package/artifacts/contracts/ArbitrationMultisig.sol/ArbitrationMultisig.dbg.json +4 -0
- package/artifacts/contracts/ArbitrationMultisig.sol/ArbitrationMultisig.json +243 -0
- package/artifacts/contracts/ArbitrationMultisig.sol/ITokenEscrowExecute.dbg.json +4 -0
- package/artifacts/contracts/ArbitrationMultisig.sol/ITokenEscrowExecute.json +24 -0
- package/artifacts/contracts/FeeManager.sol/FeeManager.dbg.json +4 -0
- package/artifacts/contracts/FeeManager.sol/FeeManager.json +53 -0
- package/artifacts/contracts/Marketplace.sol/IModuleRegistry.dbg.json +4 -0
- package/artifacts/contracts/Marketplace.sol/IModuleRegistry.json +30 -0
- package/artifacts/contracts/Marketplace.sol/ITokenEscrowMinimal.dbg.json +4 -0
- package/artifacts/contracts/Marketplace.sol/ITokenEscrowMinimal.json +120 -0
- package/artifacts/contracts/Marketplace.sol/Marketplace.dbg.json +4 -0
- package/artifacts/contracts/Marketplace.sol/Marketplace.json +746 -0
- package/artifacts/contracts/ModuleKeys.sol/ModuleKeys.dbg.json +4 -0
- package/artifacts/contracts/ModuleKeys.sol/ModuleKeys.json +10 -0
- package/artifacts/contracts/ModuleRegistry.sol/ModuleRegistry.dbg.json +4 -0
- package/artifacts/contracts/ModuleRegistry.sol/ModuleRegistry.json +169 -0
- package/artifacts/contracts/Reputation.sol/Reputation.dbg.json +4 -0
- package/artifacts/contracts/Reputation.sol/Reputation.json +265 -0
- package/artifacts/contracts/TokenEscrow.sol/IArbitration.dbg.json +4 -0
- package/artifacts/contracts/TokenEscrow.sol/IArbitration.json +59 -0
- package/artifacts/contracts/TokenEscrow.sol/IERC20Minimal.dbg.json +4 -0
- package/artifacts/contracts/TokenEscrow.sol/IERC20Minimal.json +64 -0
- package/artifacts/contracts/TokenEscrow.sol/IFeeManager.dbg.json +4 -0
- package/artifacts/contracts/TokenEscrow.sol/IFeeManager.json +37 -0
- package/artifacts/contracts/TokenEscrow.sol/IModuleRegistry.dbg.json +4 -0
- package/artifacts/contracts/TokenEscrow.sol/IModuleRegistry.json +30 -0
- package/artifacts/contracts/TokenEscrow.sol/TokenEscrow.dbg.json +4 -0
- package/artifacts/contracts/TokenEscrow.sol/TokenEscrow.json +1091 -0
- package/artifacts/contracts/USDCMock.sol/USDCMock.dbg.json +4 -0
- package/artifacts/contracts/USDCMock.sol/USDCMock.json +251 -0
- package/artifacts/contracts/interfaces/IAgentRegistry.sol/IAgentRegistry.dbg.json +4 -0
- package/artifacts/contracts/interfaces/IAgentRegistry.sol/IAgentRegistry.json +203 -0
- package/artifacts/contracts/interfaces/IArbitration.sol/IArbitration.dbg.json +4 -0
- package/artifacts/contracts/interfaces/IArbitration.sol/IArbitration.json +127 -0
- package/artifacts/contracts/interfaces/IEscrow.sol/IEscrow.dbg.json +4 -0
- package/artifacts/contracts/interfaces/IEscrow.sol/IEscrow.json +431 -0
- package/artifacts/contracts/interfaces/IFeeManager.sol/IFeeManager.dbg.json +4 -0
- package/artifacts/contracts/interfaces/IFeeManager.sol/IFeeManager.json +87 -0
- package/artifacts/contracts/interfaces/IMarketplace.sol/IMarketplace.dbg.json +4 -0
- package/artifacts/contracts/interfaces/IMarketplace.sol/IMarketplace.json +427 -0
- package/artifacts/contracts/interfaces/IReputation.sol/IReputation.dbg.json +4 -0
- package/artifacts/contracts/interfaces/IReputation.sol/IReputation.json +151 -0
- package/artifacts/contracts/interfaces/ISignatures.sol/ISignatures.dbg.json +4 -0
- package/artifacts/contracts/interfaces/ISignatures.sol/ISignatures.json +414 -0
- package/artifacts/contracts/interfaces/ITokenEscrow.sol/ITokenEscrow.dbg.json +4 -0
- package/artifacts/contracts/interfaces/ITokenEscrow.sol/ITokenEscrow.json +245 -0
- package/deployed_addresses.json +11 -0
- package/dist/artifacts/build-info/263a967f7f3cd59c812a49b3d7012981.json +1 -0
- package/dist/artifacts/build-info/4a4ba527b0f3c1846c84e3e500a6db58.json +1 -0
- package/dist/artifacts/build-info/4e7053f3332c81b7a9916619c1b87388.json +1 -0
- package/dist/artifacts/build-info/50367a8838c4b3b556df951a374f59c7.json +1 -0
- package/dist/artifacts/build-info/61ca0f28829f90b00df26748203acea3.json +1 -0
- package/dist/artifacts/build-info/63fca17ade81ae3db2e066ca74f790d1.json +1 -0
- package/dist/artifacts/build-info/85f6bdb1a79bcf0154bb1562fa8e221e.json +1 -0
- package/dist/artifacts/contracts/AgentRegistry.sol/AgentRegistry.dbg.json +4 -0
- package/dist/artifacts/contracts/AgentRegistry.sol/AgentRegistry.json +400 -0
- package/dist/artifacts/contracts/ArbitrationMultisig.sol/ArbitrationMultisig.dbg.json +4 -0
- package/dist/artifacts/contracts/ArbitrationMultisig.sol/ArbitrationMultisig.json +243 -0
- package/dist/artifacts/contracts/ArbitrationMultisig.sol/ITokenEscrowExecute.dbg.json +4 -0
- package/dist/artifacts/contracts/ArbitrationMultisig.sol/ITokenEscrowExecute.json +24 -0
- package/dist/artifacts/contracts/FeeManager.sol/FeeManager.dbg.json +4 -0
- package/dist/artifacts/contracts/FeeManager.sol/FeeManager.json +53 -0
- package/dist/artifacts/contracts/Marketplace.sol/IModuleRegistry.dbg.json +4 -0
- package/dist/artifacts/contracts/Marketplace.sol/IModuleRegistry.json +30 -0
- package/dist/artifacts/contracts/Marketplace.sol/ITokenEscrowMinimal.dbg.json +4 -0
- package/dist/artifacts/contracts/Marketplace.sol/ITokenEscrowMinimal.json +120 -0
- package/dist/artifacts/contracts/Marketplace.sol/Marketplace.dbg.json +4 -0
- package/dist/artifacts/contracts/Marketplace.sol/Marketplace.json +746 -0
- package/dist/artifacts/contracts/ModuleKeys.sol/ModuleKeys.dbg.json +4 -0
- package/dist/artifacts/contracts/ModuleKeys.sol/ModuleKeys.json +10 -0
- package/dist/artifacts/contracts/ModuleRegistry.sol/ModuleRegistry.dbg.json +4 -0
- package/dist/artifacts/contracts/ModuleRegistry.sol/ModuleRegistry.json +169 -0
- package/dist/artifacts/contracts/Reputation.sol/Reputation.dbg.json +4 -0
- package/dist/artifacts/contracts/Reputation.sol/Reputation.json +265 -0
- package/dist/artifacts/contracts/TokenEscrow.sol/IArbitration.dbg.json +4 -0
- package/dist/artifacts/contracts/TokenEscrow.sol/IArbitration.json +59 -0
- package/dist/artifacts/contracts/TokenEscrow.sol/IERC20Minimal.dbg.json +4 -0
- package/dist/artifacts/contracts/TokenEscrow.sol/IERC20Minimal.json +64 -0
- package/dist/artifacts/contracts/TokenEscrow.sol/IFeeManager.dbg.json +4 -0
- package/dist/artifacts/contracts/TokenEscrow.sol/IFeeManager.json +37 -0
- package/dist/artifacts/contracts/TokenEscrow.sol/IModuleRegistry.dbg.json +4 -0
- package/dist/artifacts/contracts/TokenEscrow.sol/IModuleRegistry.json +30 -0
- package/dist/artifacts/contracts/TokenEscrow.sol/TokenEscrow.dbg.json +4 -0
- package/dist/artifacts/contracts/TokenEscrow.sol/TokenEscrow.json +1091 -0
- package/dist/artifacts/contracts/USDCMock.sol/USDCMock.dbg.json +4 -0
- package/dist/artifacts/contracts/USDCMock.sol/USDCMock.json +251 -0
- package/dist/artifacts/contracts/interfaces/IAgentRegistry.sol/IAgentRegistry.dbg.json +4 -0
- package/dist/artifacts/contracts/interfaces/IAgentRegistry.sol/IAgentRegistry.json +203 -0
- package/dist/artifacts/contracts/interfaces/IArbitration.sol/IArbitration.dbg.json +4 -0
- package/dist/artifacts/contracts/interfaces/IArbitration.sol/IArbitration.json +127 -0
- package/dist/artifacts/contracts/interfaces/IEscrow.sol/IEscrow.dbg.json +4 -0
- package/dist/artifacts/contracts/interfaces/IEscrow.sol/IEscrow.json +431 -0
- package/dist/artifacts/contracts/interfaces/IFeeManager.sol/IFeeManager.dbg.json +4 -0
- package/dist/artifacts/contracts/interfaces/IFeeManager.sol/IFeeManager.json +87 -0
- package/dist/artifacts/contracts/interfaces/IMarketplace.sol/IMarketplace.dbg.json +4 -0
- package/dist/artifacts/contracts/interfaces/IMarketplace.sol/IMarketplace.json +427 -0
- package/dist/artifacts/contracts/interfaces/IReputation.sol/IReputation.dbg.json +4 -0
- package/dist/artifacts/contracts/interfaces/IReputation.sol/IReputation.json +151 -0
- package/dist/artifacts/contracts/interfaces/ISignatures.sol/ISignatures.dbg.json +4 -0
- package/dist/artifacts/contracts/interfaces/ISignatures.sol/ISignatures.json +414 -0
- package/dist/artifacts/contracts/interfaces/ITokenEscrow.sol/ITokenEscrow.dbg.json +4 -0
- package/dist/artifacts/contracts/interfaces/ITokenEscrow.sol/ITokenEscrow.json +245 -0
- package/dist/cli.js +306 -0
- package/dist/deployed_addresses.json +11 -0
- package/dist/scripts/bridge_to_base.js +67 -0
- package/dist/scripts/check_balance.js +46 -0
- package/dist/scripts/count_agents.js +62 -0
- package/dist/scripts/demo_e2e.js +256 -0
- package/dist/scripts/deploy_prod.js +190 -0
- package/dist/scripts/deploy_sepolia.js +196 -0
- package/dist/scripts/issue_usdc.js +97 -0
- package/dist/scripts/issue_usdc_retry.js +92 -0
- package/dist/scripts/run_genesis_tx.js +127 -0
- package/dist/scripts/show_address.js +52 -0
- package/dist/scripts/test_encryption.js +65 -0
- package/dist/scripts/utils/encryption.js +80 -0
- package/dist/scripts/verify_and_run.js +130 -0
- package/dist/scripts/wire_and_verify.js +120 -0
- package/package.json +39 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"4e7053f3332c81b7a9916619c1b87388","_format":"hh-sol-build-info-1","solcVersion":"0.8.20","solcLongVersion":"0.8.20+commit.a1b79de6","input":{"language":"Solidity","sources":{"contracts/AgentRegistry.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\nimport { IAgentRegistry } from \"./interfaces/IAgentRegistry.sol\";\n\ncontract AgentRegistry is IAgentRegistry {\n address public owner;\n\n mapping(address => string) public manifestOf;\n mapping(address => uint256) public stakeOf;\n mapping(address => AgentStatus) public statusOf;\n mapping(address => uint256) public reputationOf;\n\n bool public stakeEnabled;\n uint256 public minStake;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n event StakeGateUpdated(bool enabled, uint256 minStake);\n\n modifier onlyOwner() {\n require(msg.sender == owner, \"NOT_OWNER\");\n _;\n }\n\n modifier onlyAgent() {\n require(statusOf[msg.sender] != AgentStatus.None, \"NOT_AGENT\");\n _;\n }\n\n constructor() {\n owner = msg.sender;\n emit OwnershipTransferred(address(0), msg.sender);\n }\n\n function transferOwnership(address newOwner) external onlyOwner {\n require(newOwner != address(0), \"ZERO_OWNER\");\n emit OwnershipTransferred(owner, newOwner);\n owner = newOwner;\n }\n\n function setMinStake(uint256 newMinStake) external onlyOwner {\n minStake = newMinStake;\n emit StakeGateUpdated(stakeEnabled, newMinStake);\n }\n\n function setStakeEnabled(bool enabled) external onlyOwner {\n stakeEnabled = enabled;\n emit StakeGateUpdated(enabled, minStake);\n }\n\n function register(string calldata manifestCID) external payable override {\n if (stakeEnabled) {\n require(msg.value >= minStake, \"INSUFFICIENT_STAKE\");\n }\n\n manifestOf[msg.sender] = manifestCID;\n stakeOf[msg.sender] += msg.value;\n\n if (statusOf[msg.sender] == AgentStatus.None) {\n statusOf[msg.sender] = AgentStatus.Active;\n emit AgentStatusChanged(msg.sender, AgentStatus.Active);\n }\n\n emit AgentRegistered(msg.sender, manifestCID, stakeOf[msg.sender]);\n }\n\n function updateManifest(string calldata manifestCID) external override onlyAgent {\n manifestOf[msg.sender] = manifestCID;\n emit AgentUpdated(msg.sender, manifestCID);\n }\n\n function setStatus(address agent, AgentStatus status) external override onlyOwner {\n statusOf[agent] = status;\n emit AgentStatusChanged(agent, status);\n }\n\n function addStake() external payable override onlyAgent {\n require(msg.value > 0, \"ZERO_STAKE\");\n stakeOf[msg.sender] += msg.value;\n emit AgentStakeChanged(msg.sender, stakeOf[msg.sender]);\n }\n\n function withdrawStake(uint256 amount) external override onlyAgent {\n require(amount > 0, \"ZERO_AMOUNT\");\n require(stakeOf[msg.sender] >= amount, \"INSUFFICIENT_BALANCE\");\n stakeOf[msg.sender] -= amount;\n\n (bool sent, ) = msg.sender.call{ value: amount }(\"\");\n require(sent, \"TRANSFER_FAILED\");\n\n emit AgentStakeChanged(msg.sender, stakeOf[msg.sender]);\n }\n\n function getAgent(address agent) external view override returns (AgentInfo memory) {\n return AgentInfo({\n agent: agent,\n manifestCID: manifestOf[agent],\n stake: stakeOf[agent],\n reputationScore: reputationOf[agent],\n status: statusOf[agent]\n });\n }\n}\n"},"contracts/interfaces/IAgentRegistry.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ninterface IAgentRegistry {\n enum AgentStatus {\n None,\n Active,\n Suspended\n }\n\n struct AgentInfo {\n address agent;\n string manifestCID;\n uint256 stake;\n uint256 reputationScore;\n AgentStatus status;\n }\n\n event AgentRegistered(address indexed agent, string manifestCID, uint256 stake);\n event AgentUpdated(address indexed agent, string manifestCID);\n event AgentStatusChanged(address indexed agent, AgentStatus status);\n event AgentStakeChanged(address indexed agent, uint256 newStake);\n\n function register(string calldata manifestCID) external payable;\n function updateManifest(string calldata manifestCID) external;\n function setStatus(address agent, AgentStatus status) external;\n function addStake() external payable;\n function withdrawStake(uint256 amount) external;\n function getAgent(address agent) external view returns (AgentInfo memory);\n}\n\n"}},"settings":{"optimizer":{"enabled":true,"runs":200},"evmVersion":"paris","outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},"output":{"sources":{"contracts/AgentRegistry.sol":{"ast":{"absolutePath":"contracts/AgentRegistry.sol","exportedSymbols":{"AgentRegistry":[374],"IAgentRegistry":[454]},"id":375,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"32:24:0"},{"absolutePath":"contracts/interfaces/IAgentRegistry.sol","file":"./interfaces/IAgentRegistry.sol","id":3,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":375,"sourceUnit":455,"src":"58:65:0","symbolAliases":[{"foreign":{"id":2,"name":"IAgentRegistry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":454,"src":"67:14:0","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":4,"name":"IAgentRegistry","nameLocations":["151:14:0"],"nodeType":"IdentifierPath","referencedDeclaration":454,"src":"151:14:0"},"id":5,"nodeType":"InheritanceSpecifier","src":"151:14:0"}],"canonicalName":"AgentRegistry","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":374,"linearizedBaseContracts":[374,454],"name":"AgentRegistry","nameLocation":"134:13:0","nodeType":"ContractDefinition","nodes":[{"constant":false,"functionSelector":"8da5cb5b","id":7,"mutability":"mutable","name":"owner","nameLocation":"187:5:0","nodeType":"VariableDeclaration","scope":374,"src":"172:20:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":6,"name":"address","nodeType":"ElementaryTypeName","src":"172:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"constant":false,"functionSelector":"16a8c146","id":11,"mutability":"mutable","name":"manifestOf","nameLocation":"233:10:0","nodeType":"VariableDeclaration","scope":374,"src":"199:44:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_string_storage_$","typeString":"mapping(address => string)"},"typeName":{"id":10,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":8,"name":"address","nodeType":"ElementaryTypeName","src":"207:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"199:26:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_string_storage_$","typeString":"mapping(address => string)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":9,"name":"string","nodeType":"ElementaryTypeName","src":"218:6:0","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}}},"visibility":"public"},{"constant":false,"functionSelector":"42623360","id":15,"mutability":"mutable","name":"stakeOf","nameLocation":"284:7:0","nodeType":"VariableDeclaration","scope":374,"src":"249:42:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":14,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":12,"name":"address","nodeType":"ElementaryTypeName","src":"257:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"249:27:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":13,"name":"uint256","nodeType":"ElementaryTypeName","src":"268:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"public"},{"constant":false,"functionSelector":"97a5d5b5","id":20,"mutability":"mutable","name":"statusOf","nameLocation":"336:8:0","nodeType":"VariableDeclaration","scope":374,"src":"297:47:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_enum$_AgentStatus_$380_$","typeString":"mapping(address => enum IAgentRegistry.AgentStatus)"},"typeName":{"id":19,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":16,"name":"address","nodeType":"ElementaryTypeName","src":"305:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"297:31:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_enum$_AgentStatus_$380_$","typeString":"mapping(address => enum IAgentRegistry.AgentStatus)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":18,"nodeType":"UserDefinedTypeName","pathNode":{"id":17,"name":"AgentStatus","nameLocations":["316:11:0"],"nodeType":"IdentifierPath","referencedDeclaration":380,"src":"316:11:0"},"referencedDeclaration":380,"src":"316:11:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}}},"visibility":"public"},{"constant":false,"functionSelector":"db89c044","id":24,"mutability":"mutable","name":"reputationOf","nameLocation":"385:12:0","nodeType":"VariableDeclaration","scope":374,"src":"350:47:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":23,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":21,"name":"address","nodeType":"ElementaryTypeName","src":"358:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"350:27:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":22,"name":"uint256","nodeType":"ElementaryTypeName","src":"369:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"public"},{"constant":false,"functionSelector":"3b17c736","id":26,"mutability":"mutable","name":"stakeEnabled","nameLocation":"416:12:0","nodeType":"VariableDeclaration","scope":374,"src":"404:24:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":25,"name":"bool","nodeType":"ElementaryTypeName","src":"404:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"public"},{"constant":false,"functionSelector":"375b3c0a","id":28,"mutability":"mutable","name":"minStake","nameLocation":"449:8:0","nodeType":"VariableDeclaration","scope":374,"src":"434:23:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":27,"name":"uint256","nodeType":"ElementaryTypeName","src":"434:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"public"},{"anonymous":false,"eventSelector":"8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0","id":34,"name":"OwnershipTransferred","nameLocation":"470:20:0","nodeType":"EventDefinition","parameters":{"id":33,"nodeType":"ParameterList","parameters":[{"constant":false,"id":30,"indexed":true,"mutability":"mutable","name":"previousOwner","nameLocation":"507:13:0","nodeType":"VariableDeclaration","scope":34,"src":"491:29:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":29,"name":"address","nodeType":"ElementaryTypeName","src":"491:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":32,"indexed":true,"mutability":"mutable","name":"newOwner","nameLocation":"538:8:0","nodeType":"VariableDeclaration","scope":34,"src":"522:24:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":31,"name":"address","nodeType":"ElementaryTypeName","src":"522:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"490:57:0"},"src":"464:84:0"},{"anonymous":false,"eventSelector":"d0c5c0ab36955b328675886bff6554992f2484be1f3316b18681c2dc36d0a540","id":40,"name":"StakeGateUpdated","nameLocation":"559:16:0","nodeType":"EventDefinition","parameters":{"id":39,"nodeType":"ParameterList","parameters":[{"constant":false,"id":36,"indexed":false,"mutability":"mutable","name":"enabled","nameLocation":"581:7:0","nodeType":"VariableDeclaration","scope":40,"src":"576:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":35,"name":"bool","nodeType":"ElementaryTypeName","src":"576:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":38,"indexed":false,"mutability":"mutable","name":"minStake","nameLocation":"598:8:0","nodeType":"VariableDeclaration","scope":40,"src":"590:16:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":37,"name":"uint256","nodeType":"ElementaryTypeName","src":"590:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"575:32:0"},"src":"553:55:0"},{"body":{"id":51,"nodeType":"Block","src":"635:69:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":46,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":43,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"653:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":44,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"657:6:0","memberName":"sender","nodeType":"MemberAccess","src":"653:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":45,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7,"src":"667:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"653:19:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e4f545f4f574e4552","id":47,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"674:11:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_d4d6719c9f6bf1f398a61e7ceb8dff26d48346602421236409d0fb0b222f65b2","typeString":"literal_string \"NOT_OWNER\""},"value":"NOT_OWNER"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_d4d6719c9f6bf1f398a61e7ceb8dff26d48346602421236409d0fb0b222f65b2","typeString":"literal_string \"NOT_OWNER\""}],"id":42,"name":"require","nodeType":"Identifier","overloadedDeclarations":[4294967278,4294967278],"referencedDeclaration":4294967278,"src":"645:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":48,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"645:41:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":49,"nodeType":"ExpressionStatement","src":"645:41:0"},{"id":50,"nodeType":"PlaceholderStatement","src":"696:1:0"}]},"id":52,"name":"onlyOwner","nameLocation":"623:9:0","nodeType":"ModifierDefinition","parameters":{"id":41,"nodeType":"ParameterList","parameters":[],"src":"632:2:0"},"src":"614:90:0","virtual":false,"visibility":"internal"},{"body":{"id":66,"nodeType":"Block","src":"731:90:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"},"id":61,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":55,"name":"statusOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20,"src":"749:8:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_enum$_AgentStatus_$380_$","typeString":"mapping(address => enum IAgentRegistry.AgentStatus)"}},"id":58,"indexExpression":{"expression":{"id":56,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"758:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":57,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"762:6:0","memberName":"sender","nodeType":"MemberAccess","src":"758:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"749:20:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":59,"name":"AgentStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":380,"src":"773:11:0","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_AgentStatus_$380_$","typeString":"type(enum IAgentRegistry.AgentStatus)"}},"id":60,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"785:4:0","memberName":"None","nodeType":"MemberAccess","referencedDeclaration":377,"src":"773:16:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"src":"749:40:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e4f545f4147454e54","id":62,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"791:11:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_497353054b8aaf467e1467445993a7540100e465c9d4ad766c3377a3c173bf69","typeString":"literal_string \"NOT_AGENT\""},"value":"NOT_AGENT"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_497353054b8aaf467e1467445993a7540100e465c9d4ad766c3377a3c173bf69","typeString":"literal_string \"NOT_AGENT\""}],"id":54,"name":"require","nodeType":"Identifier","overloadedDeclarations":[4294967278,4294967278],"referencedDeclaration":4294967278,"src":"741:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":63,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"741:62:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":64,"nodeType":"ExpressionStatement","src":"741:62:0"},{"id":65,"nodeType":"PlaceholderStatement","src":"813:1:0"}]},"id":67,"name":"onlyAgent","nameLocation":"719:9:0","nodeType":"ModifierDefinition","parameters":{"id":53,"nodeType":"ParameterList","parameters":[],"src":"728:2:0"},"src":"710:111:0","virtual":false,"visibility":"internal"},{"body":{"id":84,"nodeType":"Block","src":"841:94:0","statements":[{"expression":{"id":73,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":70,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7,"src":"851:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":71,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"859:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":72,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"863:6:0","memberName":"sender","nodeType":"MemberAccess","src":"859:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"851:18:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":74,"nodeType":"ExpressionStatement","src":"851:18:0"},{"eventCall":{"arguments":[{"arguments":[{"hexValue":"30","id":78,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"913:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":77,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"905:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":76,"name":"address","nodeType":"ElementaryTypeName","src":"905:7:0","typeDescriptions":{}}},"id":79,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"905:10:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":80,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"917:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":81,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"921:6:0","memberName":"sender","nodeType":"MemberAccess","src":"917:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":75,"name":"OwnershipTransferred","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":34,"src":"884:20:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$returns$__$","typeString":"function (address,address)"}},"id":82,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"884:44:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":83,"nodeType":"EmitStatement","src":"879:49:0"}]},"id":85,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":68,"nodeType":"ParameterList","parameters":[],"src":"838:2:0"},"returnParameters":{"id":69,"nodeType":"ParameterList","parameters":[],"src":"841:0:0"},"scope":374,"src":"827:108:0","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":111,"nodeType":"Block","src":"1005:140:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":98,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":93,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87,"src":"1023:8:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":96,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1043:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":95,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1035:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":94,"name":"address","nodeType":"ElementaryTypeName","src":"1035:7:0","typeDescriptions":{}}},"id":97,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1035:10:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1023:22:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5a45524f5f4f574e4552","id":99,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1047:12:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_a26a6f6d56588264d1b79634a9c754f875b4d33ae9c27f6032762b2eb699cad5","typeString":"literal_string \"ZERO_OWNER\""},"value":"ZERO_OWNER"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_a26a6f6d56588264d1b79634a9c754f875b4d33ae9c27f6032762b2eb699cad5","typeString":"literal_string \"ZERO_OWNER\""}],"id":92,"name":"require","nodeType":"Identifier","overloadedDeclarations":[4294967278,4294967278],"referencedDeclaration":4294967278,"src":"1015:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":100,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1015:45:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":101,"nodeType":"ExpressionStatement","src":"1015:45:0"},{"eventCall":{"arguments":[{"id":103,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7,"src":"1096:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":104,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87,"src":"1103:8:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":102,"name":"OwnershipTransferred","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":34,"src":"1075:20:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$returns$__$","typeString":"function (address,address)"}},"id":105,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1075:37:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":106,"nodeType":"EmitStatement","src":"1070:42:0"},{"expression":{"id":109,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":107,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7,"src":"1122:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":108,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":87,"src":"1130:8:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1122:16:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":110,"nodeType":"ExpressionStatement","src":"1122:16:0"}]},"functionSelector":"f2fde38b","id":112,"implemented":true,"kind":"function","modifiers":[{"id":90,"kind":"modifierInvocation","modifierName":{"id":89,"name":"onlyOwner","nameLocations":["995:9:0"],"nodeType":"IdentifierPath","referencedDeclaration":52,"src":"995:9:0"},"nodeType":"ModifierInvocation","src":"995:9:0"}],"name":"transferOwnership","nameLocation":"950:17:0","nodeType":"FunctionDefinition","parameters":{"id":88,"nodeType":"ParameterList","parameters":[{"constant":false,"id":87,"mutability":"mutable","name":"newOwner","nameLocation":"976:8:0","nodeType":"VariableDeclaration","scope":112,"src":"968:16:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":86,"name":"address","nodeType":"ElementaryTypeName","src":"968:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"967:18:0"},"returnParameters":{"id":91,"nodeType":"ParameterList","parameters":[],"src":"1005:0:0"},"scope":374,"src":"941:204:0","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":128,"nodeType":"Block","src":"1212:97:0","statements":[{"expression":{"id":121,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":119,"name":"minStake","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":28,"src":"1222:8:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":120,"name":"newMinStake","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":114,"src":"1233:11:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1222:22:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":122,"nodeType":"ExpressionStatement","src":"1222:22:0"},{"eventCall":{"arguments":[{"id":124,"name":"stakeEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"1276:12:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":125,"name":"newMinStake","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":114,"src":"1290:11:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":123,"name":"StakeGateUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":40,"src":"1259:16:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bool_$_t_uint256_$returns$__$","typeString":"function (bool,uint256)"}},"id":126,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1259:43:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":127,"nodeType":"EmitStatement","src":"1254:48:0"}]},"functionSelector":"8c80fd90","id":129,"implemented":true,"kind":"function","modifiers":[{"id":117,"kind":"modifierInvocation","modifierName":{"id":116,"name":"onlyOwner","nameLocations":["1202:9:0"],"nodeType":"IdentifierPath","referencedDeclaration":52,"src":"1202:9:0"},"nodeType":"ModifierInvocation","src":"1202:9:0"}],"name":"setMinStake","nameLocation":"1160:11:0","nodeType":"FunctionDefinition","parameters":{"id":115,"nodeType":"ParameterList","parameters":[{"constant":false,"id":114,"mutability":"mutable","name":"newMinStake","nameLocation":"1180:11:0","nodeType":"VariableDeclaration","scope":129,"src":"1172:19:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":113,"name":"uint256","nodeType":"ElementaryTypeName","src":"1172:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1171:21:0"},"returnParameters":{"id":118,"nodeType":"ParameterList","parameters":[],"src":"1212:0:0"},"scope":374,"src":"1151:158:0","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":145,"nodeType":"Block","src":"1373:89:0","statements":[{"expression":{"id":138,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":136,"name":"stakeEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"1383:12:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":137,"name":"enabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":131,"src":"1398:7:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1383:22:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":139,"nodeType":"ExpressionStatement","src":"1383:22:0"},{"eventCall":{"arguments":[{"id":141,"name":"enabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":131,"src":"1437:7:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":142,"name":"minStake","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":28,"src":"1446:8:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":140,"name":"StakeGateUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":40,"src":"1420:16:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bool_$_t_uint256_$returns$__$","typeString":"function (bool,uint256)"}},"id":143,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1420:35:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":144,"nodeType":"EmitStatement","src":"1415:40:0"}]},"functionSelector":"82461948","id":146,"implemented":true,"kind":"function","modifiers":[{"id":134,"kind":"modifierInvocation","modifierName":{"id":133,"name":"onlyOwner","nameLocations":["1363:9:0"],"nodeType":"IdentifierPath","referencedDeclaration":52,"src":"1363:9:0"},"nodeType":"ModifierInvocation","src":"1363:9:0"}],"name":"setStakeEnabled","nameLocation":"1324:15:0","nodeType":"FunctionDefinition","parameters":{"id":132,"nodeType":"ParameterList","parameters":[{"constant":false,"id":131,"mutability":"mutable","name":"enabled","nameLocation":"1345:7:0","nodeType":"VariableDeclaration","scope":146,"src":"1340:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":130,"name":"bool","nodeType":"ElementaryTypeName","src":"1340:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1339:14:0"},"returnParameters":{"id":135,"nodeType":"ParameterList","parameters":[],"src":"1373:0:0"},"scope":374,"src":"1315:147:0","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[424],"body":{"id":212,"nodeType":"Block","src":"1541:468:0","statements":[{"condition":{"id":152,"name":"stakeEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"1555:12:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":162,"nodeType":"IfStatement","src":"1551:95:0","trueBody":{"id":161,"nodeType":"Block","src":"1569:77:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":157,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":154,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"1591:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":155,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1595:5:0","memberName":"value","nodeType":"MemberAccess","src":"1591:9:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":156,"name":"minStake","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":28,"src":"1604:8:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1591:21:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"494e53554646494349454e545f5354414b45","id":158,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1614:20:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_e2a7ea4962ff7134d37c21ee93f73a25055ef4e82879c6aee85351b8935a0c09","typeString":"literal_string \"INSUFFICIENT_STAKE\""},"value":"INSUFFICIENT_STAKE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e2a7ea4962ff7134d37c21ee93f73a25055ef4e82879c6aee85351b8935a0c09","typeString":"literal_string \"INSUFFICIENT_STAKE\""}],"id":153,"name":"require","nodeType":"Identifier","overloadedDeclarations":[4294967278,4294967278],"referencedDeclaration":4294967278,"src":"1583:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":159,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1583:52:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":160,"nodeType":"ExpressionStatement","src":"1583:52:0"}]}},{"expression":{"id":168,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":163,"name":"manifestOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11,"src":"1656:10:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_string_storage_$","typeString":"mapping(address => string storage ref)"}},"id":166,"indexExpression":{"expression":{"id":164,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"1667:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":165,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1671:6:0","memberName":"sender","nodeType":"MemberAccess","src":"1667:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1656:22:0","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":167,"name":"manifestCID","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":148,"src":"1681:11:0","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string calldata"}},"src":"1656:36:0","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":169,"nodeType":"ExpressionStatement","src":"1656:36:0"},{"expression":{"id":176,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":170,"name":"stakeOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15,"src":"1702:7:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":173,"indexExpression":{"expression":{"id":171,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"1710:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":172,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1714:6:0","memberName":"sender","nodeType":"MemberAccess","src":"1710:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1702:19:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"expression":{"id":174,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"1725:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":175,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1729:5:0","memberName":"value","nodeType":"MemberAccess","src":"1725:9:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1702:32:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":177,"nodeType":"ExpressionStatement","src":"1702:32:0"},{"condition":{"commonType":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"},"id":184,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":178,"name":"statusOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20,"src":"1749:8:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_enum$_AgentStatus_$380_$","typeString":"mapping(address => enum IAgentRegistry.AgentStatus)"}},"id":181,"indexExpression":{"expression":{"id":179,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"1758:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":180,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1762:6:0","memberName":"sender","nodeType":"MemberAccess","src":"1758:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1749:20:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":182,"name":"AgentStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":380,"src":"1773:11:0","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_AgentStatus_$380_$","typeString":"type(enum IAgentRegistry.AgentStatus)"}},"id":183,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1785:4:0","memberName":"None","nodeType":"MemberAccess","referencedDeclaration":377,"src":"1773:16:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"src":"1749:40:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":201,"nodeType":"IfStatement","src":"1745:181:0","trueBody":{"id":200,"nodeType":"Block","src":"1791:135:0","statements":[{"expression":{"id":191,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":185,"name":"statusOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20,"src":"1805:8:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_enum$_AgentStatus_$380_$","typeString":"mapping(address => enum IAgentRegistry.AgentStatus)"}},"id":188,"indexExpression":{"expression":{"id":186,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"1814:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":187,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1818:6:0","memberName":"sender","nodeType":"MemberAccess","src":"1814:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1805:20:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":189,"name":"AgentStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":380,"src":"1828:11:0","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_AgentStatus_$380_$","typeString":"type(enum IAgentRegistry.AgentStatus)"}},"id":190,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1840:6:0","memberName":"Active","nodeType":"MemberAccess","referencedDeclaration":378,"src":"1828:18:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"src":"1805:41:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"id":192,"nodeType":"ExpressionStatement","src":"1805:41:0"},{"eventCall":{"arguments":[{"expression":{"id":194,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"1884:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":195,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1888:6:0","memberName":"sender","nodeType":"MemberAccess","src":"1884:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":196,"name":"AgentStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":380,"src":"1896:11:0","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_AgentStatus_$380_$","typeString":"type(enum IAgentRegistry.AgentStatus)"}},"id":197,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1908:6:0","memberName":"Active","nodeType":"MemberAccess","referencedDeclaration":378,"src":"1896:18:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}],"id":193,"name":"AgentStatusChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":413,"src":"1865:18:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_enum$_AgentStatus_$380_$returns$__$","typeString":"function (address,enum IAgentRegistry.AgentStatus)"}},"id":198,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1865:50:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":199,"nodeType":"EmitStatement","src":"1860:55:0"}]}},{"eventCall":{"arguments":[{"expression":{"id":203,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"1957:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":204,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1961:6:0","memberName":"sender","nodeType":"MemberAccess","src":"1957:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":205,"name":"manifestCID","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":148,"src":"1969:11:0","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string calldata"}},{"baseExpression":{"id":206,"name":"stakeOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15,"src":"1982:7:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":209,"indexExpression":{"expression":{"id":207,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"1990:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":208,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1994:6:0","memberName":"sender","nodeType":"MemberAccess","src":"1990:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1982:19:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_string_calldata_ptr","typeString":"string calldata"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":202,"name":"AgentRegistered","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":400,"src":"1941:15:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_string_memory_ptr_$_t_uint256_$returns$__$","typeString":"function (address,string memory,uint256)"}},"id":210,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1941:61:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":211,"nodeType":"EmitStatement","src":"1936:66:0"}]},"functionSelector":"f2c298be","id":213,"implemented":true,"kind":"function","modifiers":[],"name":"register","nameLocation":"1477:8:0","nodeType":"FunctionDefinition","overrides":{"id":150,"nodeType":"OverrideSpecifier","overrides":[],"src":"1532:8:0"},"parameters":{"id":149,"nodeType":"ParameterList","parameters":[{"constant":false,"id":148,"mutability":"mutable","name":"manifestCID","nameLocation":"1502:11:0","nodeType":"VariableDeclaration","scope":213,"src":"1486:27:0","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string"},"typeName":{"id":147,"name":"string","nodeType":"ElementaryTypeName","src":"1486:6:0","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1485:29:0"},"returnParameters":{"id":151,"nodeType":"ParameterList","parameters":[],"src":"1541:0:0"},"scope":374,"src":"1468:541:0","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[429],"body":{"id":234,"nodeType":"Block","src":"2096:105:0","statements":[{"expression":{"id":226,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":221,"name":"manifestOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11,"src":"2106:10:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_string_storage_$","typeString":"mapping(address => string storage ref)"}},"id":224,"indexExpression":{"expression":{"id":222,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2117:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":223,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2121:6:0","memberName":"sender","nodeType":"MemberAccess","src":"2117:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2106:22:0","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":225,"name":"manifestCID","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":215,"src":"2131:11:0","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string calldata"}},"src":"2106:36:0","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":227,"nodeType":"ExpressionStatement","src":"2106:36:0"},{"eventCall":{"arguments":[{"expression":{"id":229,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2170:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":230,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2174:6:0","memberName":"sender","nodeType":"MemberAccess","src":"2170:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":231,"name":"manifestCID","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":215,"src":"2182:11:0","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_string_calldata_ptr","typeString":"string calldata"}],"id":228,"name":"AgentUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":406,"src":"2157:12:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_string_memory_ptr_$returns$__$","typeString":"function (address,string memory)"}},"id":232,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2157:37:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":233,"nodeType":"EmitStatement","src":"2152:42:0"}]},"functionSelector":"57200a9e","id":235,"implemented":true,"kind":"function","modifiers":[{"id":219,"kind":"modifierInvocation","modifierName":{"id":218,"name":"onlyAgent","nameLocations":["2086:9:0"],"nodeType":"IdentifierPath","referencedDeclaration":67,"src":"2086:9:0"},"nodeType":"ModifierInvocation","src":"2086:9:0"}],"name":"updateManifest","nameLocation":"2024:14:0","nodeType":"FunctionDefinition","overrides":{"id":217,"nodeType":"OverrideSpecifier","overrides":[],"src":"2077:8:0"},"parameters":{"id":216,"nodeType":"ParameterList","parameters":[{"constant":false,"id":215,"mutability":"mutable","name":"manifestCID","nameLocation":"2055:11:0","nodeType":"VariableDeclaration","scope":235,"src":"2039:27:0","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string"},"typeName":{"id":214,"name":"string","nodeType":"ElementaryTypeName","src":"2039:6:0","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2038:29:0"},"returnParameters":{"id":220,"nodeType":"ParameterList","parameters":[],"src":"2096:0:0"},"scope":374,"src":"2015:186:0","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[437],"body":{"id":257,"nodeType":"Block","src":"2289:89:0","statements":[{"expression":{"id":250,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":246,"name":"statusOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20,"src":"2299:8:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_enum$_AgentStatus_$380_$","typeString":"mapping(address => enum IAgentRegistry.AgentStatus)"}},"id":248,"indexExpression":{"id":247,"name":"agent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":237,"src":"2308:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2299:15:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":249,"name":"status","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":240,"src":"2317:6:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"src":"2299:24:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"id":251,"nodeType":"ExpressionStatement","src":"2299:24:0"},{"eventCall":{"arguments":[{"id":253,"name":"agent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":237,"src":"2357:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":254,"name":"status","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":240,"src":"2364:6:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}],"id":252,"name":"AgentStatusChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":413,"src":"2338:18:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_enum$_AgentStatus_$380_$returns$__$","typeString":"function (address,enum IAgentRegistry.AgentStatus)"}},"id":255,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2338:33:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":256,"nodeType":"EmitStatement","src":"2333:38:0"}]},"functionSelector":"278e07ce","id":258,"implemented":true,"kind":"function","modifiers":[{"id":244,"kind":"modifierInvocation","modifierName":{"id":243,"name":"onlyOwner","nameLocations":["2279:9:0"],"nodeType":"IdentifierPath","referencedDeclaration":52,"src":"2279:9:0"},"nodeType":"ModifierInvocation","src":"2279:9:0"}],"name":"setStatus","nameLocation":"2216:9:0","nodeType":"FunctionDefinition","overrides":{"id":242,"nodeType":"OverrideSpecifier","overrides":[],"src":"2270:8:0"},"parameters":{"id":241,"nodeType":"ParameterList","parameters":[{"constant":false,"id":237,"mutability":"mutable","name":"agent","nameLocation":"2234:5:0","nodeType":"VariableDeclaration","scope":258,"src":"2226:13:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":236,"name":"address","nodeType":"ElementaryTypeName","src":"2226:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":240,"mutability":"mutable","name":"status","nameLocation":"2253:6:0","nodeType":"VariableDeclaration","scope":258,"src":"2241:18:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"},"typeName":{"id":239,"nodeType":"UserDefinedTypeName","pathNode":{"id":238,"name":"AgentStatus","nameLocations":["2241:11:0"],"nodeType":"IdentifierPath","referencedDeclaration":380,"src":"2241:11:0"},"referencedDeclaration":380,"src":"2241:11:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"visibility":"internal"}],"src":"2225:35:0"},"returnParameters":{"id":245,"nodeType":"ParameterList","parameters":[],"src":"2289:0:0"},"scope":374,"src":"2207:171:0","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[440],"body":{"id":289,"nodeType":"Block","src":"2440:160:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":268,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":265,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2458:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2462:5:0","memberName":"value","nodeType":"MemberAccess","src":"2458:9:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":267,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2470:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2458:13:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5a45524f5f5354414b45","id":269,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2473:12:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_0c7dff25e27f91880a108fa8b1da75066db68f0d778484c87a9fb06d6f5e9ce6","typeString":"literal_string \"ZERO_STAKE\""},"value":"ZERO_STAKE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_0c7dff25e27f91880a108fa8b1da75066db68f0d778484c87a9fb06d6f5e9ce6","typeString":"literal_string \"ZERO_STAKE\""}],"id":264,"name":"require","nodeType":"Identifier","overloadedDeclarations":[4294967278,4294967278],"referencedDeclaration":4294967278,"src":"2450:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":270,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2450:36:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":271,"nodeType":"ExpressionStatement","src":"2450:36:0"},{"expression":{"id":278,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":272,"name":"stakeOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15,"src":"2496:7:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":275,"indexExpression":{"expression":{"id":273,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2504:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":274,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2508:6:0","memberName":"sender","nodeType":"MemberAccess","src":"2504:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2496:19:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"expression":{"id":276,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2519:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2523:5:0","memberName":"value","nodeType":"MemberAccess","src":"2519:9:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2496:32:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":279,"nodeType":"ExpressionStatement","src":"2496:32:0"},{"eventCall":{"arguments":[{"expression":{"id":281,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2561:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":282,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2565:6:0","memberName":"sender","nodeType":"MemberAccess","src":"2561:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":283,"name":"stakeOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15,"src":"2573:7:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":286,"indexExpression":{"expression":{"id":284,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2581:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":285,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2585:6:0","memberName":"sender","nodeType":"MemberAccess","src":"2581:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2573:19:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":280,"name":"AgentStakeChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":419,"src":"2543:17:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":287,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2543:50:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":288,"nodeType":"EmitStatement","src":"2538:55:0"}]},"functionSelector":"5a627dbc","id":290,"implemented":true,"kind":"function","modifiers":[{"id":262,"kind":"modifierInvocation","modifierName":{"id":261,"name":"onlyAgent","nameLocations":["2430:9:0"],"nodeType":"IdentifierPath","referencedDeclaration":67,"src":"2430:9:0"},"nodeType":"ModifierInvocation","src":"2430:9:0"}],"name":"addStake","nameLocation":"2393:8:0","nodeType":"FunctionDefinition","overrides":{"id":260,"nodeType":"OverrideSpecifier","overrides":[],"src":"2421:8:0"},"parameters":{"id":259,"nodeType":"ParameterList","parameters":[],"src":"2401:2:0"},"returnParameters":{"id":263,"nodeType":"ParameterList","parameters":[],"src":"2440:0:0"},"scope":374,"src":"2384:216:0","stateMutability":"payable","virtual":false,"visibility":"external"},{"baseFunctions":[445],"body":{"id":346,"nodeType":"Block","src":"2673:333:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":299,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":292,"src":"2691:6:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":300,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2700:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2691:10:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5a45524f5f414d4f554e54","id":302,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2703:13:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_ad8e292265788ac5c19f708ed96612bf3229f5fbdf9e1b9b3466c3f5a1b60243","typeString":"literal_string \"ZERO_AMOUNT\""},"value":"ZERO_AMOUNT"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_ad8e292265788ac5c19f708ed96612bf3229f5fbdf9e1b9b3466c3f5a1b60243","typeString":"literal_string \"ZERO_AMOUNT\""}],"id":298,"name":"require","nodeType":"Identifier","overloadedDeclarations":[4294967278,4294967278],"referencedDeclaration":4294967278,"src":"2683:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":303,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2683:34:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":304,"nodeType":"ExpressionStatement","src":"2683:34:0"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":306,"name":"stakeOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15,"src":"2735:7:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":309,"indexExpression":{"expression":{"id":307,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2743:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":308,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2747:6:0","memberName":"sender","nodeType":"MemberAccess","src":"2743:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2735:19:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":310,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":292,"src":"2758:6:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2735:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"494e53554646494349454e545f42414c414e4345","id":312,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2766:22:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_153c6a82d06260899a3190a7f053b8e53b5844ee1a57108f9b35d4e78ccddb58","typeString":"literal_string \"INSUFFICIENT_BALANCE\""},"value":"INSUFFICIENT_BALANCE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_153c6a82d06260899a3190a7f053b8e53b5844ee1a57108f9b35d4e78ccddb58","typeString":"literal_string \"INSUFFICIENT_BALANCE\""}],"id":305,"name":"require","nodeType":"Identifier","overloadedDeclarations":[4294967278,4294967278],"referencedDeclaration":4294967278,"src":"2727:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":313,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2727:62:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":314,"nodeType":"ExpressionStatement","src":"2727:62:0"},{"expression":{"id":320,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":315,"name":"stakeOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15,"src":"2799:7:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":318,"indexExpression":{"expression":{"id":316,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2807:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":317,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2811:6:0","memberName":"sender","nodeType":"MemberAccess","src":"2807:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2799:19:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":319,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":292,"src":"2822:6:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2799:29:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":321,"nodeType":"ExpressionStatement","src":"2799:29:0"},{"assignments":[323,null],"declarations":[{"constant":false,"id":323,"mutability":"mutable","name":"sent","nameLocation":"2845:4:0","nodeType":"VariableDeclaration","scope":346,"src":"2840:9:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":322,"name":"bool","nodeType":"ElementaryTypeName","src":"2840:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},null],"id":331,"initialValue":{"arguments":[{"hexValue":"","id":329,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2888:2:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"expression":{"id":324,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2855:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":325,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2859:6:0","memberName":"sender","nodeType":"MemberAccess","src":"2855:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":326,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2866:4:0","memberName":"call","nodeType":"MemberAccess","src":"2855:15:0","typeDescriptions":{"typeIdentifier":"t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) payable returns (bool,bytes memory)"}},"id":328,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":327,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":292,"src":"2879:6:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"2855:32:0","typeDescriptions":{"typeIdentifier":"t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value","typeString":"function (bytes memory) payable returns (bool,bytes memory)"}},"id":330,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2855:36:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"2839:52:0"},{"expression":{"arguments":[{"id":333,"name":"sent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":323,"src":"2909:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5452414e534645525f4641494c4544","id":334,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2915:17:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_8bf8f0d780f13740660fe63233b17f96cb1813889e7dce4121e55b817b367b72","typeString":"literal_string \"TRANSFER_FAILED\""},"value":"TRANSFER_FAILED"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_8bf8f0d780f13740660fe63233b17f96cb1813889e7dce4121e55b817b367b72","typeString":"literal_string \"TRANSFER_FAILED\""}],"id":332,"name":"require","nodeType":"Identifier","overloadedDeclarations":[4294967278,4294967278],"referencedDeclaration":4294967278,"src":"2901:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":335,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2901:32:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":336,"nodeType":"ExpressionStatement","src":"2901:32:0"},{"eventCall":{"arguments":[{"expression":{"id":338,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2967:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":339,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2971:6:0","memberName":"sender","nodeType":"MemberAccess","src":"2967:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":340,"name":"stakeOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15,"src":"2979:7:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":343,"indexExpression":{"expression":{"id":341,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4294967281,"src":"2987:3:0","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":342,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2991:6:0","memberName":"sender","nodeType":"MemberAccess","src":"2987:10:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2979:19:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":337,"name":"AgentStakeChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":419,"src":"2949:17:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":344,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2949:50:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":345,"nodeType":"EmitStatement","src":"2944:55:0"}]},"functionSelector":"25d5971f","id":347,"implemented":true,"kind":"function","modifiers":[{"id":296,"kind":"modifierInvocation","modifierName":{"id":295,"name":"onlyAgent","nameLocations":["2663:9:0"],"nodeType":"IdentifierPath","referencedDeclaration":67,"src":"2663:9:0"},"nodeType":"ModifierInvocation","src":"2663:9:0"}],"name":"withdrawStake","nameLocation":"2615:13:0","nodeType":"FunctionDefinition","overrides":{"id":294,"nodeType":"OverrideSpecifier","overrides":[],"src":"2654:8:0"},"parameters":{"id":293,"nodeType":"ParameterList","parameters":[{"constant":false,"id":292,"mutability":"mutable","name":"amount","nameLocation":"2637:6:0","nodeType":"VariableDeclaration","scope":347,"src":"2629:14:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":291,"name":"uint256","nodeType":"ElementaryTypeName","src":"2629:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2628:16:0"},"returnParameters":{"id":297,"nodeType":"ParameterList","parameters":[],"src":"2673:0:0"},"scope":374,"src":"2606:400:0","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[453],"body":{"id":372,"nodeType":"Block","src":"3095:237:0","statements":[{"expression":{"arguments":[{"id":357,"name":"agent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":349,"src":"3143:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":358,"name":"manifestOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11,"src":"3175:10:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_string_storage_$","typeString":"mapping(address => string storage ref)"}},"id":360,"indexExpression":{"id":359,"name":"agent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":349,"src":"3186:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3175:17:0","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},{"baseExpression":{"id":361,"name":"stakeOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15,"src":"3213:7:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":363,"indexExpression":{"id":362,"name":"agent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":349,"src":"3221:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3213:14:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"baseExpression":{"id":364,"name":"reputationOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":24,"src":"3258:12:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":366,"indexExpression":{"id":365,"name":"agent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":349,"src":"3271:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3258:19:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"baseExpression":{"id":367,"name":"statusOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":20,"src":"3299:8:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_enum$_AgentStatus_$380_$","typeString":"mapping(address => enum IAgentRegistry.AgentStatus)"}},"id":369,"indexExpression":{"id":368,"name":"agent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":349,"src":"3308:5:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3299:15:0","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_string_storage","typeString":"string storage ref"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}],"id":356,"name":"AgentInfo","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":392,"src":"3112:9:0","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_AgentInfo_$392_storage_ptr_$","typeString":"type(struct IAgentRegistry.AgentInfo storage pointer)"}},"id":370,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["3136:5:0","3162:11:0","3206:5:0","3241:15:0","3291:6:0"],"names":["agent","manifestCID","stake","reputationScore","status"],"nodeType":"FunctionCall","src":"3112:213:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_AgentInfo_$392_memory_ptr","typeString":"struct IAgentRegistry.AgentInfo memory"}},"functionReturnParameters":355,"id":371,"nodeType":"Return","src":"3105:220:0"}]},"functionSelector":"fb3551ff","id":373,"implemented":true,"kind":"function","modifiers":[],"name":"getAgent","nameLocation":"3021:8:0","nodeType":"FunctionDefinition","overrides":{"id":351,"nodeType":"OverrideSpecifier","overrides":[],"src":"3059:8:0"},"parameters":{"id":350,"nodeType":"ParameterList","parameters":[{"constant":false,"id":349,"mutability":"mutable","name":"agent","nameLocation":"3038:5:0","nodeType":"VariableDeclaration","scope":373,"src":"3030:13:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":348,"name":"address","nodeType":"ElementaryTypeName","src":"3030:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3029:15:0"},"returnParameters":{"id":355,"nodeType":"ParameterList","parameters":[{"constant":false,"id":354,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":373,"src":"3077:16:0","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_AgentInfo_$392_memory_ptr","typeString":"struct IAgentRegistry.AgentInfo"},"typeName":{"id":353,"nodeType":"UserDefinedTypeName","pathNode":{"id":352,"name":"AgentInfo","nameLocations":["3077:9:0"],"nodeType":"IdentifierPath","referencedDeclaration":392,"src":"3077:9:0"},"referencedDeclaration":392,"src":"3077:9:0","typeDescriptions":{"typeIdentifier":"t_struct$_AgentInfo_$392_storage_ptr","typeString":"struct IAgentRegistry.AgentInfo"}},"visibility":"internal"}],"src":"3076:18:0"},"scope":374,"src":"3012:320:0","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":375,"src":"125:3209:0","usedErrors":[],"usedEvents":[34,40,400,406,413,419]}],"src":"32:3303:0"},"id":0},"contracts/interfaces/IAgentRegistry.sol":{"ast":{"absolutePath":"contracts/interfaces/IAgentRegistry.sol","exportedSymbols":{"IAgentRegistry":[454]},"id":455,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":376,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"32:24:1"},{"abstract":false,"baseContracts":[],"canonicalName":"IAgentRegistry","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":454,"linearizedBaseContracts":[454],"name":"IAgentRegistry","nameLocation":"68:14:1","nodeType":"ContractDefinition","nodes":[{"canonicalName":"IAgentRegistry.AgentStatus","id":380,"members":[{"id":377,"name":"None","nameLocation":"116:4:1","nodeType":"EnumValue","src":"116:4:1"},{"id":378,"name":"Active","nameLocation":"130:6:1","nodeType":"EnumValue","src":"130:6:1"},{"id":379,"name":"Suspended","nameLocation":"146:9:1","nodeType":"EnumValue","src":"146:9:1"}],"name":"AgentStatus","nameLocation":"94:11:1","nodeType":"EnumDefinition","src":"89:72:1"},{"canonicalName":"IAgentRegistry.AgentInfo","id":392,"members":[{"constant":false,"id":382,"mutability":"mutable","name":"agent","nameLocation":"202:5:1","nodeType":"VariableDeclaration","scope":392,"src":"194:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":381,"name":"address","nodeType":"ElementaryTypeName","src":"194:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":384,"mutability":"mutable","name":"manifestCID","nameLocation":"224:11:1","nodeType":"VariableDeclaration","scope":392,"src":"217:18:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"},"typeName":{"id":383,"name":"string","nodeType":"ElementaryTypeName","src":"217:6:1","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":386,"mutability":"mutable","name":"stake","nameLocation":"253:5:1","nodeType":"VariableDeclaration","scope":392,"src":"245:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":385,"name":"uint256","nodeType":"ElementaryTypeName","src":"245:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":388,"mutability":"mutable","name":"reputationScore","nameLocation":"276:15:1","nodeType":"VariableDeclaration","scope":392,"src":"268:23:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":387,"name":"uint256","nodeType":"ElementaryTypeName","src":"268:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":391,"mutability":"mutable","name":"status","nameLocation":"313:6:1","nodeType":"VariableDeclaration","scope":392,"src":"301:18:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"},"typeName":{"id":390,"nodeType":"UserDefinedTypeName","pathNode":{"id":389,"name":"AgentStatus","nameLocations":["301:11:1"],"nodeType":"IdentifierPath","referencedDeclaration":380,"src":"301:11:1"},"referencedDeclaration":380,"src":"301:11:1","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"visibility":"internal"}],"name":"AgentInfo","nameLocation":"174:9:1","nodeType":"StructDefinition","scope":454,"src":"167:159:1","visibility":"public"},{"anonymous":false,"eventSelector":"023c5efe572c42192271951adb0e77f97d7fc84bc761d026189ac08617346824","id":400,"name":"AgentRegistered","nameLocation":"338:15:1","nodeType":"EventDefinition","parameters":{"id":399,"nodeType":"ParameterList","parameters":[{"constant":false,"id":394,"indexed":true,"mutability":"mutable","name":"agent","nameLocation":"370:5:1","nodeType":"VariableDeclaration","scope":400,"src":"354:21:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":393,"name":"address","nodeType":"ElementaryTypeName","src":"354:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":396,"indexed":false,"mutability":"mutable","name":"manifestCID","nameLocation":"384:11:1","nodeType":"VariableDeclaration","scope":400,"src":"377:18:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":395,"name":"string","nodeType":"ElementaryTypeName","src":"377:6:1","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":398,"indexed":false,"mutability":"mutable","name":"stake","nameLocation":"405:5:1","nodeType":"VariableDeclaration","scope":400,"src":"397:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":397,"name":"uint256","nodeType":"ElementaryTypeName","src":"397:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"353:58:1"},"src":"332:80:1"},{"anonymous":false,"eventSelector":"b915c10d80f3a5a64f9cf6b674511d7c794c3419680d92ddf18339ae793ffb57","id":406,"name":"AgentUpdated","nameLocation":"423:12:1","nodeType":"EventDefinition","parameters":{"id":405,"nodeType":"ParameterList","parameters":[{"constant":false,"id":402,"indexed":true,"mutability":"mutable","name":"agent","nameLocation":"452:5:1","nodeType":"VariableDeclaration","scope":406,"src":"436:21:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":401,"name":"address","nodeType":"ElementaryTypeName","src":"436:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":404,"indexed":false,"mutability":"mutable","name":"manifestCID","nameLocation":"466:11:1","nodeType":"VariableDeclaration","scope":406,"src":"459:18:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":403,"name":"string","nodeType":"ElementaryTypeName","src":"459:6:1","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"435:43:1"},"src":"417:62:1"},{"anonymous":false,"eventSelector":"3ee366bd83c5cc24a1c3a11ee648e4ce0b12d519493df8b8394e11496eba747b","id":413,"name":"AgentStatusChanged","nameLocation":"490:18:1","nodeType":"EventDefinition","parameters":{"id":412,"nodeType":"ParameterList","parameters":[{"constant":false,"id":408,"indexed":true,"mutability":"mutable","name":"agent","nameLocation":"525:5:1","nodeType":"VariableDeclaration","scope":413,"src":"509:21:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":407,"name":"address","nodeType":"ElementaryTypeName","src":"509:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":411,"indexed":false,"mutability":"mutable","name":"status","nameLocation":"544:6:1","nodeType":"VariableDeclaration","scope":413,"src":"532:18:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"},"typeName":{"id":410,"nodeType":"UserDefinedTypeName","pathNode":{"id":409,"name":"AgentStatus","nameLocations":["532:11:1"],"nodeType":"IdentifierPath","referencedDeclaration":380,"src":"532:11:1"},"referencedDeclaration":380,"src":"532:11:1","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"visibility":"internal"}],"src":"508:43:1"},"src":"484:68:1"},{"anonymous":false,"eventSelector":"215c404371fa4ecbb9cb872650536271fefe9b730cc27ea247731ed776afabae","id":419,"name":"AgentStakeChanged","nameLocation":"563:17:1","nodeType":"EventDefinition","parameters":{"id":418,"nodeType":"ParameterList","parameters":[{"constant":false,"id":415,"indexed":true,"mutability":"mutable","name":"agent","nameLocation":"597:5:1","nodeType":"VariableDeclaration","scope":419,"src":"581:21:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":414,"name":"address","nodeType":"ElementaryTypeName","src":"581:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":417,"indexed":false,"mutability":"mutable","name":"newStake","nameLocation":"612:8:1","nodeType":"VariableDeclaration","scope":419,"src":"604:16:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":416,"name":"uint256","nodeType":"ElementaryTypeName","src":"604:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"580:41:1"},"src":"557:65:1"},{"functionSelector":"f2c298be","id":424,"implemented":false,"kind":"function","modifiers":[],"name":"register","nameLocation":"637:8:1","nodeType":"FunctionDefinition","parameters":{"id":422,"nodeType":"ParameterList","parameters":[{"constant":false,"id":421,"mutability":"mutable","name":"manifestCID","nameLocation":"662:11:1","nodeType":"VariableDeclaration","scope":424,"src":"646:27:1","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string"},"typeName":{"id":420,"name":"string","nodeType":"ElementaryTypeName","src":"646:6:1","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"645:29:1"},"returnParameters":{"id":423,"nodeType":"ParameterList","parameters":[],"src":"691:0:1"},"scope":454,"src":"628:64:1","stateMutability":"payable","virtual":false,"visibility":"external"},{"functionSelector":"57200a9e","id":429,"implemented":false,"kind":"function","modifiers":[],"name":"updateManifest","nameLocation":"706:14:1","nodeType":"FunctionDefinition","parameters":{"id":427,"nodeType":"ParameterList","parameters":[{"constant":false,"id":426,"mutability":"mutable","name":"manifestCID","nameLocation":"737:11:1","nodeType":"VariableDeclaration","scope":429,"src":"721:27:1","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string"},"typeName":{"id":425,"name":"string","nodeType":"ElementaryTypeName","src":"721:6:1","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"720:29:1"},"returnParameters":{"id":428,"nodeType":"ParameterList","parameters":[],"src":"758:0:1"},"scope":454,"src":"697:62:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"278e07ce","id":437,"implemented":false,"kind":"function","modifiers":[],"name":"setStatus","nameLocation":"773:9:1","nodeType":"FunctionDefinition","parameters":{"id":435,"nodeType":"ParameterList","parameters":[{"constant":false,"id":431,"mutability":"mutable","name":"agent","nameLocation":"791:5:1","nodeType":"VariableDeclaration","scope":437,"src":"783:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":430,"name":"address","nodeType":"ElementaryTypeName","src":"783:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":434,"mutability":"mutable","name":"status","nameLocation":"810:6:1","nodeType":"VariableDeclaration","scope":437,"src":"798:18:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"},"typeName":{"id":433,"nodeType":"UserDefinedTypeName","pathNode":{"id":432,"name":"AgentStatus","nameLocations":["798:11:1"],"nodeType":"IdentifierPath","referencedDeclaration":380,"src":"798:11:1"},"referencedDeclaration":380,"src":"798:11:1","typeDescriptions":{"typeIdentifier":"t_enum$_AgentStatus_$380","typeString":"enum IAgentRegistry.AgentStatus"}},"visibility":"internal"}],"src":"782:35:1"},"returnParameters":{"id":436,"nodeType":"ParameterList","parameters":[],"src":"826:0:1"},"scope":454,"src":"764:63:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"5a627dbc","id":440,"implemented":false,"kind":"function","modifiers":[],"name":"addStake","nameLocation":"841:8:1","nodeType":"FunctionDefinition","parameters":{"id":438,"nodeType":"ParameterList","parameters":[],"src":"849:2:1"},"returnParameters":{"id":439,"nodeType":"ParameterList","parameters":[],"src":"868:0:1"},"scope":454,"src":"832:37:1","stateMutability":"payable","virtual":false,"visibility":"external"},{"functionSelector":"25d5971f","id":445,"implemented":false,"kind":"function","modifiers":[],"name":"withdrawStake","nameLocation":"883:13:1","nodeType":"FunctionDefinition","parameters":{"id":443,"nodeType":"ParameterList","parameters":[{"constant":false,"id":442,"mutability":"mutable","name":"amount","nameLocation":"905:6:1","nodeType":"VariableDeclaration","scope":445,"src":"897:14:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":441,"name":"uint256","nodeType":"ElementaryTypeName","src":"897:7:1","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"896:16:1"},"returnParameters":{"id":444,"nodeType":"ParameterList","parameters":[],"src":"921:0:1"},"scope":454,"src":"874:48:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"fb3551ff","id":453,"implemented":false,"kind":"function","modifiers":[],"name":"getAgent","nameLocation":"936:8:1","nodeType":"FunctionDefinition","parameters":{"id":448,"nodeType":"ParameterList","parameters":[{"constant":false,"id":447,"mutability":"mutable","name":"agent","nameLocation":"953:5:1","nodeType":"VariableDeclaration","scope":453,"src":"945:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":446,"name":"address","nodeType":"ElementaryTypeName","src":"945:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"944:15:1"},"returnParameters":{"id":452,"nodeType":"ParameterList","parameters":[{"constant":false,"id":451,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":453,"src":"983:16:1","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_AgentInfo_$392_memory_ptr","typeString":"struct IAgentRegistry.AgentInfo"},"typeName":{"id":450,"nodeType":"UserDefinedTypeName","pathNode":{"id":449,"name":"AgentInfo","nameLocations":["983:9:1"],"nodeType":"IdentifierPath","referencedDeclaration":392,"src":"983:9:1"},"referencedDeclaration":392,"src":"983:9:1","typeDescriptions":{"typeIdentifier":"t_struct$_AgentInfo_$392_storage_ptr","typeString":"struct IAgentRegistry.AgentInfo"}},"visibility":"internal"}],"src":"982:18:1"},"scope":454,"src":"927:74:1","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":455,"src":"58:945:1","usedErrors":[],"usedEvents":[400,406,413,419]}],"src":"32:973:1"},"id":1}},"contracts":{"contracts/AgentRegistry.sol":{"AgentRegistry":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"agent","type":"address"},{"indexed":false,"internalType":"string","name":"manifestCID","type":"string"},{"indexed":false,"internalType":"uint256","name":"stake","type":"uint256"}],"name":"AgentRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"agent","type":"address"},{"indexed":false,"internalType":"uint256","name":"newStake","type":"uint256"}],"name":"AgentStakeChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"agent","type":"address"},{"indexed":false,"internalType":"enum IAgentRegistry.AgentStatus","name":"status","type":"uint8"}],"name":"AgentStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"agent","type":"address"},{"indexed":false,"internalType":"string","name":"manifestCID","type":"string"}],"name":"AgentUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"},{"indexed":false,"internalType":"uint256","name":"minStake","type":"uint256"}],"name":"StakeGateUpdated","type":"event"},{"inputs":[],"name":"addStake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"agent","type":"address"}],"name":"getAgent","outputs":[{"components":[{"internalType":"address","name":"agent","type":"address"},{"internalType":"string","name":"manifestCID","type":"string"},{"internalType":"uint256","name":"stake","type":"uint256"},{"internalType":"uint256","name":"reputationScore","type":"uint256"},{"internalType":"enum IAgentRegistry.AgentStatus","name":"status","type":"uint8"}],"internalType":"struct IAgentRegistry.AgentInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"manifestOf","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minStake","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"manifestCID","type":"string"}],"name":"register","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reputationOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMinStake","type":"uint256"}],"name":"setMinStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setStakeEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"agent","type":"address"},{"internalType":"enum IAgentRegistry.AgentStatus","name":"status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakeOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"statusOf","outputs":[{"internalType":"enum IAgentRegistry.AgentStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"manifestCID","type":"string"}],"name":"updateManifest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawStake","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"@_85":{"entryPoint":null,"id":85,"parameterSlots":0,"returnSlots":0}},"generatedSources":[],"linkReferences":{},"object":"608060405234801561001057600080fd5b50600080546001600160a01b0319163390811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36110f08061005f6000396000f3fe6080604052600436106100f35760003560e01c8063824619481161008a578063db89c04411610059578063db89c044146102c8578063f2c298be146102f5578063f2fde38b14610308578063fb3551ff1461032857600080fd5b806382461948146102135780638c80fd90146102335780638da5cb5b1461025357806397a5d5b51461028b57600080fd5b80633b17c736116100c65780633b17c7361461019457806342623360146101be57806357200a9e146101eb5780635a627dbc1461020b57600080fd5b806316a8c146146100f857806325d5971f1461012e578063278e07ce14610150578063375b3c0a14610170575b600080fd5b34801561010457600080fd5b50610118610113366004610c62565b610355565b6040516101259190610cca565b60405180910390f35b34801561013a57600080fd5b5061014e610149366004610cdd565b6103ef565b005b34801561015c57600080fd5b5061014e61016b366004610cf6565b6105c4565b34801561017c57600080fd5b5061018660065481565b604051908152602001610125565b3480156101a057600080fd5b506005546101ae9060ff1681565b6040519015158152602001610125565b3480156101ca57600080fd5b506101866101d9366004610c62565b60026020526000908152604090205481565b3480156101f757600080fd5b5061014e610206366004610d31565b610661565b61014e6106f8565b34801561021f57600080fd5b5061014e61022e366004610da3565b6107e0565b34801561023f57600080fd5b5061014e61024e366004610cdd565b61085c565b34801561025f57600080fd5b50600054610273906001600160a01b031681565b6040516001600160a01b039091168152602001610125565b34801561029757600080fd5b506102bb6102a6366004610c62565b60036020526000908152604090205460ff1681565b6040516101259190610dfd565b3480156102d457600080fd5b506101866102e3366004610c62565b60046020526000908152604090205481565b61014e610303366004610d31565b6108ca565b34801561031457600080fd5b5061014e610323366004610c62565b610a1c565b34801561033457600080fd5b50610348610343366004610c62565b610ae4565b6040516101259190610e11565b6001602052600090815260409020805461036e90610e6f565b80601f016020809104026020016040519081016040528092919081815260200182805461039a90610e6f565b80156103e75780601f106103bc576101008083540402835291602001916103e7565b820191906000526020600020905b8154815290600101906020018083116103ca57829003601f168201915b505050505081565b3360009081526003602052604081205460ff16600281111561041357610413610dc5565b036104395760405162461bcd60e51b815260040161043090610ea9565b60405180910390fd5b600081116104775760405162461bcd60e51b815260206004820152600b60248201526a16915493d7d05353d5539560aa1b6044820152606401610430565b336000908152600260205260409020548111156104cd5760405162461bcd60e51b8152602060048201526014602482015273494e53554646494349454e545f42414c414e434560601b6044820152606401610430565b33600090815260026020526040812080548392906104ec908490610ee2565b9091555050604051600090339083908381818185875af1925050503d8060008114610533576040519150601f19603f3d011682016040523d82523d6000602084013e610538565b606091505b505090508061057b5760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610430565b336000818152600260209081526040918290205491519182527f215c404371fa4ecbb9cb872650536271fefe9b730cc27ea247731ed776afabae91015b60405180910390a25050565b6000546001600160a01b031633146105ee5760405162461bcd60e51b815260040161043090610ef5565b6001600160a01b0382166000908152600360205260409020805482919060ff1916600183600281111561062357610623610dc5565b0217905550816001600160a01b03167f3ee366bd83c5cc24a1c3a11ee648e4ce0b12d519493df8b8394e11496eba747b826040516105b89190610dfd565b3360009081526003602052604081205460ff16600281111561068557610685610dc5565b036106a25760405162461bcd60e51b815260040161043090610ea9565b3360009081526001602052604090206106bc828483610f7d565b50336001600160a01b03167fb915c10d80f3a5a64f9cf6b674511d7c794c3419680d92ddf18339ae793ffb5783836040516105b8929190611067565b3360009081526003602052604081205460ff16600281111561071c5761071c610dc5565b036107395760405162461bcd60e51b815260040161043090610ea9565b600034116107765760405162461bcd60e51b815260206004820152600a6024820152695a45524f5f5354414b4560b01b6044820152606401610430565b3360009081526002602052604081208054349290610795908490611083565b9091555050336000818152600260209081526040918290205491519182527f215c404371fa4ecbb9cb872650536271fefe9b730cc27ea247731ed776afabae910160405180910390a2565b6000546001600160a01b0316331461080a5760405162461bcd60e51b815260040161043090610ef5565b6005805460ff19168215159081179091556006546040805192835260208301919091527fd0c5c0ab36955b328675886bff6554992f2484be1f3316b18681c2dc36d0a54091015b60405180910390a150565b6000546001600160a01b031633146108865760405162461bcd60e51b815260040161043090610ef5565b60068190556005546040805160ff90921615158252602082018390527fd0c5c0ab36955b328675886bff6554992f2484be1f3316b18681c2dc36d0a5409101610851565b60055460ff161561091c5760065434101561091c5760405162461bcd60e51b8152602060048201526012602482015271494e53554646494349454e545f5354414b4560701b6044820152606401610430565b336000908152600160205260409020610936828483610f7d565b503360009081526002602052604081208054349290610956908490611083565b90915550503360009081526003602052604081205460ff16600281111561097f5761097f610dc5565b036109d9573360008181526003602052604090819020805460ff1916600190811790915590517f3ee366bd83c5cc24a1c3a11ee648e4ce0b12d519493df8b8394e11496eba747b916109d091610dfd565b60405180910390a25b33600081815260026020526040908190205490517f023c5efe572c42192271951adb0e77f97d7fc84bc761d026189ac08617346824916105b89186918691611096565b6000546001600160a01b03163314610a465760405162461bcd60e51b815260040161043090610ef5565b6001600160a01b038116610a895760405162461bcd60e51b815260206004820152600a6024820152692d22a927afa7aba722a960b11b6044820152606401610430565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610aec610bfe565b6040805160a0810182526001600160a01b03841680825260009081526001602090815292902080549192830191610b2290610e6f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4e90610e6f565b8015610b9b5780601f10610b7057610100808354040283529160200191610b9b565b820191906000526020600020905b815481529060010190602001808311610b7e57829003601f168201915b50505091835250506001600160a01b03841660008181526002602081815260408084205482870152848452600482528084205481870152938352600390529190205460609092019160ff1690811115610bf657610bf6610dc5565b905292915050565b6040518060a0016040528060006001600160a01b0316815260200160608152602001600081526020016000815260200160006002811115610c4157610c41610dc5565b905290565b80356001600160a01b0381168114610c5d57600080fd5b919050565b600060208284031215610c7457600080fd5b610c7d82610c46565b9392505050565b6000815180845260005b81811015610caa57602081850181015186830182015201610c8e565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610c7d6020830184610c84565b600060208284031215610cef57600080fd5b5035919050565b60008060408385031215610d0957600080fd5b610d1283610c46565b9150602083013560038110610d2657600080fd5b809150509250929050565b60008060208385031215610d4457600080fd5b823567ffffffffffffffff80821115610d5c57600080fd5b818501915085601f830112610d7057600080fd5b813581811115610d7f57600080fd5b866020828501011115610d9157600080fd5b60209290920196919550909350505050565b600060208284031215610db557600080fd5b81358015158114610c7d57600080fd5b634e487b7160e01b600052602160045260246000fd5b60038110610df957634e487b7160e01b600052602160045260246000fd5b9052565b60208101610e0b8284610ddb565b92915050565b602080825282516001600160a01b03168282015282015160a06040830152600090610e3f60c0840182610c84565b905060408401516060840152606084015160808401526080840151610e6760a0850182610ddb565b509392505050565b600181811c90821680610e8357607f821691505b602082108103610ea357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600990820152681393d517d051d1539560ba1b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610e0b57610e0b610ecc565b6020808252600990820152682727aa2fa7aba722a960b91b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b601f821115610f7857600081815260208120601f850160051c81016020861015610f555750805b601f850160051c820191505b81811015610f7457828155600101610f61565b5050505b505050565b67ffffffffffffffff831115610f9557610f95610f18565b610fa983610fa38354610e6f565b83610f2e565b6000601f841160018114610fdd5760008515610fc55750838201355b600019600387901b1c1916600186901b178355611037565b600083815260209020601f19861690835b8281101561100e5786850135825560209485019460019092019101610fee565b508682101561102b5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60208152600061107b60208301848661103e565b949350505050565b80820180821115610e0b57610e0b610ecc565b6040815260006110aa60408301858761103e565b905082602083015294935050505056fea2646970667358221220d5494963c8750770719e7dce2325dc0c09835f067379cdcaa8a79958692872ae64736f6c63430008140033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER SWAP1 DUP2 OR DUP3 SSTORE PUSH1 0x40 MLOAD SWAP1 SWAP2 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 DUP3 SWAP1 LOG3 PUSH2 0x10F0 DUP1 PUSH2 0x5F PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0xF3 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x82461948 GT PUSH2 0x8A JUMPI DUP1 PUSH4 0xDB89C044 GT PUSH2 0x59 JUMPI DUP1 PUSH4 0xDB89C044 EQ PUSH2 0x2C8 JUMPI DUP1 PUSH4 0xF2C298BE EQ PUSH2 0x2F5 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x308 JUMPI DUP1 PUSH4 0xFB3551FF EQ PUSH2 0x328 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x82461948 EQ PUSH2 0x213 JUMPI DUP1 PUSH4 0x8C80FD90 EQ PUSH2 0x233 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x253 JUMPI DUP1 PUSH4 0x97A5D5B5 EQ PUSH2 0x28B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x3B17C736 GT PUSH2 0xC6 JUMPI DUP1 PUSH4 0x3B17C736 EQ PUSH2 0x194 JUMPI DUP1 PUSH4 0x42623360 EQ PUSH2 0x1BE JUMPI DUP1 PUSH4 0x57200A9E EQ PUSH2 0x1EB JUMPI DUP1 PUSH4 0x5A627DBC EQ PUSH2 0x20B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x16A8C146 EQ PUSH2 0xF8 JUMPI DUP1 PUSH4 0x25D5971F EQ PUSH2 0x12E JUMPI DUP1 PUSH4 0x278E07CE EQ PUSH2 0x150 JUMPI DUP1 PUSH4 0x375B3C0A EQ PUSH2 0x170 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x104 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x118 PUSH2 0x113 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH2 0x355 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x125 SWAP2 SWAP1 PUSH2 0xCCA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x13A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x149 CALLDATASIZE PUSH1 0x4 PUSH2 0xCDD JUMP JUMPDEST PUSH2 0x3EF JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x15C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0xCF6 JUMP JUMPDEST PUSH2 0x5C4 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x17C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x186 PUSH1 0x6 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x125 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x5 SLOAD PUSH2 0x1AE SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x125 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x186 PUSH2 0x1D9 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x206 CALLDATASIZE PUSH1 0x4 PUSH2 0xD31 JUMP JUMPDEST PUSH2 0x661 JUMP JUMPDEST PUSH2 0x14E PUSH2 0x6F8 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x21F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x22E CALLDATASIZE PUSH1 0x4 PUSH2 0xDA3 JUMP JUMPDEST PUSH2 0x7E0 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x23F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x24E CALLDATASIZE PUSH1 0x4 PUSH2 0xCDD JUMP JUMPDEST PUSH2 0x85C JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x25F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x0 SLOAD PUSH2 0x273 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x125 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x297 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x2BB PUSH2 0x2A6 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x125 SWAP2 SWAP1 PUSH2 0xDFD JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2D4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x186 PUSH2 0x2E3 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0x14E PUSH2 0x303 CALLDATASIZE PUSH1 0x4 PUSH2 0xD31 JUMP JUMPDEST PUSH2 0x8CA JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x314 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x323 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH2 0xA1C JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x334 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x348 PUSH2 0x343 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH2 0xAE4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x125 SWAP2 SWAP1 PUSH2 0xE11 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH2 0x36E SWAP1 PUSH2 0xE6F JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x39A SWAP1 PUSH2 0xE6F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x3E7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x3BC JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x3E7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x3CA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0xFF AND PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x413 JUMPI PUSH2 0x413 PUSH2 0xDC5 JUMP JUMPDEST SUB PUSH2 0x439 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEA9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP2 GT PUSH2 0x477 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xB PUSH1 0x24 DUP3 ADD MSTORE PUSH11 0x16915493D7D05353D55395 PUSH1 0xAA SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 GT ISZERO PUSH2 0x4CD JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH20 0x494E53554646494349454E545F42414C414E4345 PUSH1 0x60 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x4EC SWAP1 DUP5 SWAP1 PUSH2 0xEE2 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD PUSH1 0x0 SWAP1 CALLER SWAP1 DUP4 SWAP1 DUP4 DUP2 DUP2 DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x533 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x538 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP POP SWAP1 POP DUP1 PUSH2 0x57B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH15 0x1514905394D1915497D19052531151 PUSH1 0x8A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 SLOAD SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH32 0x215C404371FA4ECBB9CB872650536271FEFE9B730CC27EA247731ED776AFABAE SWAP2 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x5EE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEF5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP3 SWAP2 SWAP1 PUSH1 0xFF NOT AND PUSH1 0x1 DUP4 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x623 JUMPI PUSH2 0x623 PUSH2 0xDC5 JUMP JUMPDEST MUL OR SWAP1 SSTORE POP DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0x3EE366BD83C5CC24A1C3A11EE648E4CE0B12D519493DF8B8394E11496EBA747B DUP3 PUSH1 0x40 MLOAD PUSH2 0x5B8 SWAP2 SWAP1 PUSH2 0xDFD JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0xFF AND PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x685 JUMPI PUSH2 0x685 PUSH2 0xDC5 JUMP JUMPDEST SUB PUSH2 0x6A2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEA9 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0x6BC DUP3 DUP5 DUP4 PUSH2 0xF7D JUMP JUMPDEST POP CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xB915C10D80F3A5A64F9CF6B674511D7C794C3419680D92DDF18339AE793FFB57 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x5B8 SWAP3 SWAP2 SWAP1 PUSH2 0x1067 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0xFF AND PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x71C JUMPI PUSH2 0x71C PUSH2 0xDC5 JUMP JUMPDEST SUB PUSH2 0x739 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEA9 JUMP JUMPDEST PUSH1 0x0 CALLVALUE GT PUSH2 0x776 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xA PUSH1 0x24 DUP3 ADD MSTORE PUSH10 0x5A45524F5F5354414B45 PUSH1 0xB0 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD CALLVALUE SWAP3 SWAP1 PUSH2 0x795 SWAP1 DUP5 SWAP1 PUSH2 0x1083 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 SLOAD SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH32 0x215C404371FA4ECBB9CB872650536271FEFE9B730CC27EA247731ED776AFABAE SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x80A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEF5 JUMP JUMPDEST PUSH1 0x5 DUP1 SLOAD PUSH1 0xFF NOT AND DUP3 ISZERO ISZERO SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x6 SLOAD PUSH1 0x40 DUP1 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH32 0xD0C5C0AB36955B328675886BFF6554992F2484BE1F3316B18681C2DC36D0A540 SWAP2 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x886 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEF5 JUMP JUMPDEST PUSH1 0x6 DUP2 SWAP1 SSTORE PUSH1 0x5 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0xFF SWAP1 SWAP3 AND ISZERO ISZERO DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP4 SWAP1 MSTORE PUSH32 0xD0C5C0AB36955B328675886BFF6554992F2484BE1F3316B18681C2DC36D0A540 SWAP2 ADD PUSH2 0x851 JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x91C JUMPI PUSH1 0x6 SLOAD CALLVALUE LT ISZERO PUSH2 0x91C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x12 PUSH1 0x24 DUP3 ADD MSTORE PUSH18 0x494E53554646494349454E545F5354414B45 PUSH1 0x70 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0x936 DUP3 DUP5 DUP4 PUSH2 0xF7D JUMP JUMPDEST POP CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD CALLVALUE SWAP3 SWAP1 PUSH2 0x956 SWAP1 DUP5 SWAP1 PUSH2 0x1083 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0xFF AND PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x97F JUMPI PUSH2 0x97F PUSH2 0xDC5 JUMP JUMPDEST SUB PUSH2 0x9D9 JUMPI CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE SWAP1 MLOAD PUSH32 0x3EE366BD83C5CC24A1C3A11EE648E4CE0B12D519493DF8B8394E11496EBA747B SWAP2 PUSH2 0x9D0 SWAP2 PUSH2 0xDFD JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD PUSH32 0x23C5EFE572C42192271951ADB0E77F97D7FC84BC761D026189AC08617346824 SWAP2 PUSH2 0x5B8 SWAP2 DUP7 SWAP2 DUP7 SWAP2 PUSH2 0x1096 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0xA46 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEF5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xA89 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xA PUSH1 0x24 DUP3 ADD MSTORE PUSH10 0x2D22A927AFA7ABA722A9 PUSH1 0xB1 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND SWAP4 SWAP3 AND SWAP2 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP2 LOG3 PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0xAEC PUSH2 0xBFE JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0xA0 DUP2 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND DUP1 DUP3 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD SWAP2 SWAP3 DUP4 ADD SWAP2 PUSH2 0xB22 SWAP1 PUSH2 0xE6F JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0xB4E SWAP1 PUSH2 0xE6F JUMP JUMPDEST DUP1 ISZERO PUSH2 0xB9B JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xB70 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xB9B JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0xB7E JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP SWAP2 DUP4 MSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SLOAD DUP3 DUP8 ADD MSTORE DUP5 DUP5 MSTORE PUSH1 0x4 DUP3 MSTORE DUP1 DUP5 KECCAK256 SLOAD DUP2 DUP8 ADD MSTORE SWAP4 DUP4 MSTORE PUSH1 0x3 SWAP1 MSTORE SWAP2 SWAP1 KECCAK256 SLOAD PUSH1 0x60 SWAP1 SWAP3 ADD SWAP2 PUSH1 0xFF AND SWAP1 DUP2 GT ISZERO PUSH2 0xBF6 JUMPI PUSH2 0xBF6 PUSH2 0xDC5 JUMP JUMPDEST SWAP1 MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0xC41 JUMPI PUSH2 0xC41 PUSH2 0xDC5 JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xC5D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC74 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC7D DUP3 PUSH2 0xC46 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xCAA JUMPI PUSH1 0x20 DUP2 DUP6 ADD DUP2 ADD MLOAD DUP7 DUP4 ADD DUP3 ADD MSTORE ADD PUSH2 0xC8E JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x20 DUP3 DUP7 ADD ADD MSTORE PUSH1 0x20 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND DUP6 ADD ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0xC7D PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xC84 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xCEF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xD09 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD12 DUP4 PUSH2 0xC46 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH2 0xD26 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x20 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xD44 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xD5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xD70 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0xD7F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0xD91 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 SWAP3 SWAP1 SWAP3 ADD SWAP7 SWAP2 SWAP6 POP SWAP1 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xDB5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0xC7D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0xDF9 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0xE0B DUP3 DUP5 PUSH2 0xDDB JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 DUP3 ADD MSTORE DUP3 ADD MLOAD PUSH1 0xA0 PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x0 SWAP1 PUSH2 0xE3F PUSH1 0xC0 DUP5 ADD DUP3 PUSH2 0xC84 JUMP JUMPDEST SWAP1 POP PUSH1 0x40 DUP5 ADD MLOAD PUSH1 0x60 DUP5 ADD MSTORE PUSH1 0x60 DUP5 ADD MLOAD PUSH1 0x80 DUP5 ADD MSTORE PUSH1 0x80 DUP5 ADD MLOAD PUSH2 0xE67 PUSH1 0xA0 DUP6 ADD DUP3 PUSH2 0xDDB JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0xE83 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0xEA3 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x9 SWAP1 DUP3 ADD MSTORE PUSH9 0x1393D517D051D15395 PUSH1 0xBA SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP2 DUP2 SUB DUP2 DUP2 GT ISZERO PUSH2 0xE0B JUMPI PUSH2 0xE0B PUSH2 0xECC JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x9 SWAP1 DUP3 ADD MSTORE PUSH9 0x2727AA2FA7ABA722A9 PUSH1 0xB9 SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0xF78 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP2 ADD PUSH1 0x20 DUP7 LT ISZERO PUSH2 0xF55 JUMPI POP DUP1 JUMPDEST PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP3 ADD SWAP2 POP JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xF74 JUMPI DUP3 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0xF61 JUMP JUMPDEST POP POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP4 GT ISZERO PUSH2 0xF95 JUMPI PUSH2 0xF95 PUSH2 0xF18 JUMP JUMPDEST PUSH2 0xFA9 DUP4 PUSH2 0xFA3 DUP4 SLOAD PUSH2 0xE6F JUMP JUMPDEST DUP4 PUSH2 0xF2E JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F DUP5 GT PUSH1 0x1 DUP2 EQ PUSH2 0xFDD JUMPI PUSH1 0x0 DUP6 ISZERO PUSH2 0xFC5 JUMPI POP DUP4 DUP3 ADD CALLDATALOAD JUMPDEST PUSH1 0x0 NOT PUSH1 0x3 DUP8 SWAP1 SHL SHR NOT AND PUSH1 0x1 DUP7 SWAP1 SHL OR DUP4 SSTORE PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 SWAP1 KECCAK256 PUSH1 0x1F NOT DUP7 AND SWAP1 DUP4 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x100E JUMPI DUP7 DUP6 ADD CALLDATALOAD DUP3 SSTORE PUSH1 0x20 SWAP5 DUP6 ADD SWAP5 PUSH1 0x1 SWAP1 SWAP3 ADD SWAP2 ADD PUSH2 0xFEE JUMP JUMPDEST POP DUP7 DUP3 LT ISZERO PUSH2 0x102B JUMPI PUSH1 0x0 NOT PUSH1 0xF8 DUP9 PUSH1 0x3 SHL AND SHR NOT DUP5 DUP8 ADD CALLDATALOAD AND DUP2 SSTORE JUMPDEST POP POP PUSH1 0x1 DUP6 PUSH1 0x1 SHL ADD DUP4 SSTORE JUMPDEST POP POP POP POP POP JUMP JUMPDEST DUP2 DUP4 MSTORE DUP2 DUP2 PUSH1 0x20 DUP6 ADD CALLDATACOPY POP PUSH1 0x0 DUP3 DUP3 ADD PUSH1 0x20 SWAP1 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND SWAP1 SWAP2 ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x107B PUSH1 0x20 DUP4 ADD DUP5 DUP7 PUSH2 0x103E JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST DUP1 DUP3 ADD DUP1 DUP3 GT ISZERO PUSH2 0xE0B JUMPI PUSH2 0xE0B PUSH2 0xECC JUMP JUMPDEST PUSH1 0x40 DUP2 MSTORE PUSH1 0x0 PUSH2 0x10AA PUSH1 0x40 DUP4 ADD DUP6 DUP8 PUSH2 0x103E JUMP JUMPDEST SWAP1 POP DUP3 PUSH1 0x20 DUP4 ADD MSTORE SWAP5 SWAP4 POP POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD5 0x49 0x49 PUSH4 0xC8750770 PUSH18 0x9E7DCE2325DC0C09835F067379CDCAA8A799 PC PUSH10 0x2872AE64736F6C634300 ADDMOD EQ STOP CALLER ","sourceMap":"125:3209:0:-:0;;;827:108;;;;;;;;;-1:-1:-1;851:5:0;:18;;-1:-1:-1;;;;;;851:18:0;859:10;851:18;;;;;884:44;;859:10;;851:5;884:44;;851:5;;884:44;125:3209;;;;;;"},"deployedBytecode":{"functionDebugData":{"@addStake_290":{"entryPoint":1784,"id":290,"parameterSlots":0,"returnSlots":0},"@getAgent_373":{"entryPoint":2788,"id":373,"parameterSlots":1,"returnSlots":1},"@manifestOf_11":{"entryPoint":853,"id":11,"parameterSlots":0,"returnSlots":0},"@minStake_28":{"entryPoint":null,"id":28,"parameterSlots":0,"returnSlots":0},"@owner_7":{"entryPoint":null,"id":7,"parameterSlots":0,"returnSlots":0},"@register_213":{"entryPoint":2250,"id":213,"parameterSlots":2,"returnSlots":0},"@reputationOf_24":{"entryPoint":null,"id":24,"parameterSlots":0,"returnSlots":0},"@setMinStake_129":{"entryPoint":2140,"id":129,"parameterSlots":1,"returnSlots":0},"@setStakeEnabled_146":{"entryPoint":2016,"id":146,"parameterSlots":1,"returnSlots":0},"@setStatus_258":{"entryPoint":1476,"id":258,"parameterSlots":2,"returnSlots":0},"@stakeEnabled_26":{"entryPoint":null,"id":26,"parameterSlots":0,"returnSlots":0},"@stakeOf_15":{"entryPoint":null,"id":15,"parameterSlots":0,"returnSlots":0},"@statusOf_20":{"entryPoint":null,"id":20,"parameterSlots":0,"returnSlots":0},"@transferOwnership_112":{"entryPoint":2588,"id":112,"parameterSlots":1,"returnSlots":0},"@updateManifest_235":{"entryPoint":1633,"id":235,"parameterSlots":2,"returnSlots":0},"@withdrawStake_347":{"entryPoint":1007,"id":347,"parameterSlots":1,"returnSlots":0},"abi_decode_address":{"entryPoint":3142,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_tuple_t_address":{"entryPoint":3170,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_enum$_AgentStatus_$380":{"entryPoint":3318,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_bool":{"entryPoint":3491,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_string_calldata_ptr":{"entryPoint":3377,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_uint256":{"entryPoint":3293,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_enum_AgentStatus":{"entryPoint":3547,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_string":{"entryPoint":3204,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_string_calldata":{"entryPoint":4158,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_address__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_bool_t_uint256__to_t_bool_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_enum$_AgentStatus_$380__to_t_uint8__fromStack_reversed":{"entryPoint":3581,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_string_calldata_ptr__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":4199,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_string_calldata_ptr_t_uint256__to_t_string_memory_ptr_t_uint256__fromStack_reversed":{"entryPoint":4246,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":3274,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_0c7dff25e27f91880a108fa8b1da75066db68f0d778484c87a9fb06d6f5e9ce6__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_153c6a82d06260899a3190a7f053b8e53b5844ee1a57108f9b35d4e78ccddb58__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_497353054b8aaf467e1467445993a7540100e465c9d4ad766c3377a3c173bf69__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":3753,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_8bf8f0d780f13740660fe63233b17f96cb1813889e7dce4121e55b817b367b72__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_a26a6f6d56588264d1b79634a9c754f875b4d33ae9c27f6032762b2eb699cad5__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_ad8e292265788ac5c19f708ed96612bf3229f5fbdf9e1b9b3466c3f5a1b60243__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_d4d6719c9f6bf1f398a61e7ceb8dff26d48346602421236409d0fb0b222f65b2__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":3829,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_e2a7ea4962ff7134d37c21ee93f73a25055ef4e82879c6aee85351b8935a0c09__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_struct$_AgentInfo_$392_memory_ptr__to_t_struct$_AgentInfo_$392_memory_ptr__fromStack_reversed":{"entryPoint":3601,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"array_dataslot_string_storage":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"checked_add_t_uint256":{"entryPoint":4227,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_t_uint256":{"entryPoint":3810,"id":null,"parameterSlots":2,"returnSlots":1},"clean_up_bytearray_end_slots_string_storage":{"entryPoint":3886,"id":null,"parameterSlots":3,"returnSlots":0},"copy_byte_array_to_storage_from_t_string_calldata_ptr_to_t_string_storage":{"entryPoint":3965,"id":null,"parameterSlots":3,"returnSlots":0},"extract_byte_array_length":{"entryPoint":3695,"id":null,"parameterSlots":1,"returnSlots":1},"extract_used_part_and_set_length_of_short_byte_array":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"panic_error_0x11":{"entryPoint":3788,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x21":{"entryPoint":3525,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x41":{"entryPoint":3864,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:11347:2","statements":[{"nodeType":"YulBlock","src":"6:3:2","statements":[]},{"body":{"nodeType":"YulBlock","src":"63:124:2","statements":[{"nodeType":"YulAssignment","src":"73:29:2","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"95:6:2"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"82:12:2"},"nodeType":"YulFunctionCall","src":"82:20:2"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"73:5:2"}]},{"body":{"nodeType":"YulBlock","src":"165:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"174:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"177:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"167:6:2"},"nodeType":"YulFunctionCall","src":"167:12:2"},"nodeType":"YulExpressionStatement","src":"167:12:2"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"124:5:2"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"135:5:2"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"150:3:2","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"155:1:2","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"146:3:2"},"nodeType":"YulFunctionCall","src":"146:11:2"},{"kind":"number","nodeType":"YulLiteral","src":"159:1:2","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"142:3:2"},"nodeType":"YulFunctionCall","src":"142:19:2"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"131:3:2"},"nodeType":"YulFunctionCall","src":"131:31:2"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"121:2:2"},"nodeType":"YulFunctionCall","src":"121:42:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"114:6:2"},"nodeType":"YulFunctionCall","src":"114:50:2"},"nodeType":"YulIf","src":"111:70:2"}]},"name":"abi_decode_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"42:6:2","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"53:5:2","type":""}],"src":"14:173:2"},{"body":{"nodeType":"YulBlock","src":"262:116:2","statements":[{"body":{"nodeType":"YulBlock","src":"308:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"317:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"320:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"310:6:2"},"nodeType":"YulFunctionCall","src":"310:12:2"},"nodeType":"YulExpressionStatement","src":"310:12:2"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"283:7:2"},{"name":"headStart","nodeType":"YulIdentifier","src":"292:9:2"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"279:3:2"},"nodeType":"YulFunctionCall","src":"279:23:2"},{"kind":"number","nodeType":"YulLiteral","src":"304:2:2","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"275:3:2"},"nodeType":"YulFunctionCall","src":"275:32:2"},"nodeType":"YulIf","src":"272:52:2"},{"nodeType":"YulAssignment","src":"333:39:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"362:9:2"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"343:18:2"},"nodeType":"YulFunctionCall","src":"343:29:2"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"333:6:2"}]}]},"name":"abi_decode_tuple_t_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"228:9:2","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"239:7:2","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"251:6:2","type":""}],"src":"192:186:2"},{"body":{"nodeType":"YulBlock","src":"433:373:2","statements":[{"nodeType":"YulVariableDeclaration","src":"443:26:2","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"463:5:2"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"457:5:2"},"nodeType":"YulFunctionCall","src":"457:12:2"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"447:6:2","type":""}]},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"485:3:2"},{"name":"length","nodeType":"YulIdentifier","src":"490:6:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"478:6:2"},"nodeType":"YulFunctionCall","src":"478:19:2"},"nodeType":"YulExpressionStatement","src":"478:19:2"},{"nodeType":"YulVariableDeclaration","src":"506:10:2","value":{"kind":"number","nodeType":"YulLiteral","src":"515:1:2","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"510:1:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"577:110:2","statements":[{"nodeType":"YulVariableDeclaration","src":"591:14:2","value":{"kind":"number","nodeType":"YulLiteral","src":"601:4:2","type":"","value":"0x20"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"595:2:2","type":""}]},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"633:3:2"},{"name":"i","nodeType":"YulIdentifier","src":"638:1:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"629:3:2"},"nodeType":"YulFunctionCall","src":"629:11:2"},{"name":"_1","nodeType":"YulIdentifier","src":"642:2:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"625:3:2"},"nodeType":"YulFunctionCall","src":"625:20:2"},{"arguments":[{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"661:5:2"},{"name":"i","nodeType":"YulIdentifier","src":"668:1:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"657:3:2"},"nodeType":"YulFunctionCall","src":"657:13:2"},{"name":"_1","nodeType":"YulIdentifier","src":"672:2:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"653:3:2"},"nodeType":"YulFunctionCall","src":"653:22:2"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"647:5:2"},"nodeType":"YulFunctionCall","src":"647:29:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"618:6:2"},"nodeType":"YulFunctionCall","src":"618:59:2"},"nodeType":"YulExpressionStatement","src":"618:59:2"}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"536:1:2"},{"name":"length","nodeType":"YulIdentifier","src":"539:6:2"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"533:2:2"},"nodeType":"YulFunctionCall","src":"533:13:2"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"547:21:2","statements":[{"nodeType":"YulAssignment","src":"549:17:2","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"558:1:2"},{"kind":"number","nodeType":"YulLiteral","src":"561:4:2","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"554:3:2"},"nodeType":"YulFunctionCall","src":"554:12:2"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"549:1:2"}]}]},"pre":{"nodeType":"YulBlock","src":"529:3:2","statements":[]},"src":"525:162:2"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"711:3:2"},{"name":"length","nodeType":"YulIdentifier","src":"716:6:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"707:3:2"},"nodeType":"YulFunctionCall","src":"707:16:2"},{"kind":"number","nodeType":"YulLiteral","src":"725:4:2","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"703:3:2"},"nodeType":"YulFunctionCall","src":"703:27:2"},{"kind":"number","nodeType":"YulLiteral","src":"732:1:2","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"696:6:2"},"nodeType":"YulFunctionCall","src":"696:38:2"},"nodeType":"YulExpressionStatement","src":"696:38:2"},{"nodeType":"YulAssignment","src":"743:57:2","value":{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"758:3:2"},{"arguments":[{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"771:6:2"},{"kind":"number","nodeType":"YulLiteral","src":"779:2:2","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"767:3:2"},"nodeType":"YulFunctionCall","src":"767:15:2"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"788:2:2","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"784:3:2"},"nodeType":"YulFunctionCall","src":"784:7:2"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"763:3:2"},"nodeType":"YulFunctionCall","src":"763:29:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"754:3:2"},"nodeType":"YulFunctionCall","src":"754:39:2"},{"kind":"number","nodeType":"YulLiteral","src":"795:4:2","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"750:3:2"},"nodeType":"YulFunctionCall","src":"750:50:2"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"743:3:2"}]}]},"name":"abi_encode_string","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"410:5:2","type":""},{"name":"pos","nodeType":"YulTypedName","src":"417:3:2","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"425:3:2","type":""}],"src":"383:423:2"},{"body":{"nodeType":"YulBlock","src":"932:99:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"949:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"960:2:2","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"942:6:2"},"nodeType":"YulFunctionCall","src":"942:21:2"},"nodeType":"YulExpressionStatement","src":"942:21:2"},{"nodeType":"YulAssignment","src":"972:53:2","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"998:6:2"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1010:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"1021:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1006:3:2"},"nodeType":"YulFunctionCall","src":"1006:18:2"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"980:17:2"},"nodeType":"YulFunctionCall","src":"980:45:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"972:4:2"}]}]},"name":"abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"901:9:2","type":""},{"name":"value0","nodeType":"YulTypedName","src":"912:6:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"923:4:2","type":""}],"src":"811:220:2"},{"body":{"nodeType":"YulBlock","src":"1106:110:2","statements":[{"body":{"nodeType":"YulBlock","src":"1152:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1161:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1164:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1154:6:2"},"nodeType":"YulFunctionCall","src":"1154:12:2"},"nodeType":"YulExpressionStatement","src":"1154:12:2"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"1127:7:2"},{"name":"headStart","nodeType":"YulIdentifier","src":"1136:9:2"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1123:3:2"},"nodeType":"YulFunctionCall","src":"1123:23:2"},{"kind":"number","nodeType":"YulLiteral","src":"1148:2:2","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1119:3:2"},"nodeType":"YulFunctionCall","src":"1119:32:2"},"nodeType":"YulIf","src":"1116:52:2"},{"nodeType":"YulAssignment","src":"1177:33:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1200:9:2"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1187:12:2"},"nodeType":"YulFunctionCall","src":"1187:23:2"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"1177:6:2"}]}]},"name":"abi_decode_tuple_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1072:9:2","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"1083:7:2","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"1095:6:2","type":""}],"src":"1036:180:2"},{"body":{"nodeType":"YulBlock","src":"1323:243:2","statements":[{"body":{"nodeType":"YulBlock","src":"1369:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1378:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1381:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1371:6:2"},"nodeType":"YulFunctionCall","src":"1371:12:2"},"nodeType":"YulExpressionStatement","src":"1371:12:2"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"1344:7:2"},{"name":"headStart","nodeType":"YulIdentifier","src":"1353:9:2"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1340:3:2"},"nodeType":"YulFunctionCall","src":"1340:23:2"},{"kind":"number","nodeType":"YulLiteral","src":"1365:2:2","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1336:3:2"},"nodeType":"YulFunctionCall","src":"1336:32:2"},"nodeType":"YulIf","src":"1333:52:2"},{"nodeType":"YulAssignment","src":"1394:39:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1423:9:2"}],"functionName":{"name":"abi_decode_address","nodeType":"YulIdentifier","src":"1404:18:2"},"nodeType":"YulFunctionCall","src":"1404:29:2"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"1394:6:2"}]},{"nodeType":"YulVariableDeclaration","src":"1442:45:2","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1472:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"1483:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1468:3:2"},"nodeType":"YulFunctionCall","src":"1468:18:2"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1455:12:2"},"nodeType":"YulFunctionCall","src":"1455:32:2"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"1446:5:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"1520:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1529:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1532:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1522:6:2"},"nodeType":"YulFunctionCall","src":"1522:12:2"},"nodeType":"YulExpressionStatement","src":"1522:12:2"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1509:5:2"},{"kind":"number","nodeType":"YulLiteral","src":"1516:1:2","type":"","value":"3"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1506:2:2"},"nodeType":"YulFunctionCall","src":"1506:12:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1499:6:2"},"nodeType":"YulFunctionCall","src":"1499:20:2"},"nodeType":"YulIf","src":"1496:40:2"},{"nodeType":"YulAssignment","src":"1545:15:2","value":{"name":"value","nodeType":"YulIdentifier","src":"1555:5:2"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"1545:6:2"}]}]},"name":"abi_decode_tuple_t_addresst_enum$_AgentStatus_$380","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1281:9:2","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"1292:7:2","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"1304:6:2","type":""},{"name":"value1","nodeType":"YulTypedName","src":"1312:6:2","type":""}],"src":"1221:345:2"},{"body":{"nodeType":"YulBlock","src":"1672:76:2","statements":[{"nodeType":"YulAssignment","src":"1682:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1694:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"1705:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1690:3:2"},"nodeType":"YulFunctionCall","src":"1690:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1682:4:2"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1724:9:2"},{"name":"value0","nodeType":"YulIdentifier","src":"1735:6:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1717:6:2"},"nodeType":"YulFunctionCall","src":"1717:25:2"},"nodeType":"YulExpressionStatement","src":"1717:25:2"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1641:9:2","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1652:6:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1663:4:2","type":""}],"src":"1571:177:2"},{"body":{"nodeType":"YulBlock","src":"1848:92:2","statements":[{"nodeType":"YulAssignment","src":"1858:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1870:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"1881:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1866:3:2"},"nodeType":"YulFunctionCall","src":"1866:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"1858:4:2"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1900:9:2"},{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"1925:6:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1918:6:2"},"nodeType":"YulFunctionCall","src":"1918:14:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1911:6:2"},"nodeType":"YulFunctionCall","src":"1911:22:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1893:6:2"},"nodeType":"YulFunctionCall","src":"1893:41:2"},"nodeType":"YulExpressionStatement","src":"1893:41:2"}]},"name":"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1817:9:2","type":""},{"name":"value0","nodeType":"YulTypedName","src":"1828:6:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"1839:4:2","type":""}],"src":"1753:187:2"},{"body":{"nodeType":"YulBlock","src":"2035:502:2","statements":[{"body":{"nodeType":"YulBlock","src":"2081:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2090:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2093:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2083:6:2"},"nodeType":"YulFunctionCall","src":"2083:12:2"},"nodeType":"YulExpressionStatement","src":"2083:12:2"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2056:7:2"},{"name":"headStart","nodeType":"YulIdentifier","src":"2065:9:2"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2052:3:2"},"nodeType":"YulFunctionCall","src":"2052:23:2"},{"kind":"number","nodeType":"YulLiteral","src":"2077:2:2","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2048:3:2"},"nodeType":"YulFunctionCall","src":"2048:32:2"},"nodeType":"YulIf","src":"2045:52:2"},{"nodeType":"YulVariableDeclaration","src":"2106:37:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2133:9:2"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2120:12:2"},"nodeType":"YulFunctionCall","src":"2120:23:2"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"2110:6:2","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2152:28:2","value":{"kind":"number","nodeType":"YulLiteral","src":"2162:18:2","type":"","value":"0xffffffffffffffff"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"2156:2:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"2207:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2216:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2219:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2209:6:2"},"nodeType":"YulFunctionCall","src":"2209:12:2"},"nodeType":"YulExpressionStatement","src":"2209:12:2"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"2195:6:2"},{"name":"_1","nodeType":"YulIdentifier","src":"2203:2:2"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2192:2:2"},"nodeType":"YulFunctionCall","src":"2192:14:2"},"nodeType":"YulIf","src":"2189:34:2"},{"nodeType":"YulVariableDeclaration","src":"2232:32:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2246:9:2"},{"name":"offset","nodeType":"YulIdentifier","src":"2257:6:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2242:3:2"},"nodeType":"YulFunctionCall","src":"2242:22:2"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"2236:2:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"2312:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2321:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2324:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2314:6:2"},"nodeType":"YulFunctionCall","src":"2314:12:2"},"nodeType":"YulExpressionStatement","src":"2314:12:2"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"2291:2:2"},{"kind":"number","nodeType":"YulLiteral","src":"2295:4:2","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2287:3:2"},"nodeType":"YulFunctionCall","src":"2287:13:2"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"2302:7:2"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2283:3:2"},"nodeType":"YulFunctionCall","src":"2283:27:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"2276:6:2"},"nodeType":"YulFunctionCall","src":"2276:35:2"},"nodeType":"YulIf","src":"2273:55:2"},{"nodeType":"YulVariableDeclaration","src":"2337:30:2","value":{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"2364:2:2"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2351:12:2"},"nodeType":"YulFunctionCall","src":"2351:16:2"},"variables":[{"name":"length","nodeType":"YulTypedName","src":"2341:6:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"2394:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2403:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2406:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2396:6:2"},"nodeType":"YulFunctionCall","src":"2396:12:2"},"nodeType":"YulExpressionStatement","src":"2396:12:2"}]},"condition":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"2382:6:2"},{"name":"_1","nodeType":"YulIdentifier","src":"2390:2:2"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2379:2:2"},"nodeType":"YulFunctionCall","src":"2379:14:2"},"nodeType":"YulIf","src":"2376:34:2"},{"body":{"nodeType":"YulBlock","src":"2460:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2469:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2472:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2462:6:2"},"nodeType":"YulFunctionCall","src":"2462:12:2"},"nodeType":"YulExpressionStatement","src":"2462:12:2"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"2433:2:2"},{"name":"length","nodeType":"YulIdentifier","src":"2437:6:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2429:3:2"},"nodeType":"YulFunctionCall","src":"2429:15:2"},{"kind":"number","nodeType":"YulLiteral","src":"2446:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2425:3:2"},"nodeType":"YulFunctionCall","src":"2425:24:2"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"2451:7:2"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2422:2:2"},"nodeType":"YulFunctionCall","src":"2422:37:2"},"nodeType":"YulIf","src":"2419:57:2"},{"nodeType":"YulAssignment","src":"2485:21:2","value":{"arguments":[{"name":"_2","nodeType":"YulIdentifier","src":"2499:2:2"},{"kind":"number","nodeType":"YulLiteral","src":"2503:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2495:3:2"},"nodeType":"YulFunctionCall","src":"2495:11:2"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"2485:6:2"}]},{"nodeType":"YulAssignment","src":"2515:16:2","value":{"name":"length","nodeType":"YulIdentifier","src":"2525:6:2"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"2515:6:2"}]}]},"name":"abi_decode_tuple_t_string_calldata_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1993:9:2","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2004:7:2","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2016:6:2","type":""},{"name":"value1","nodeType":"YulTypedName","src":"2024:6:2","type":""}],"src":"1945:592:2"},{"body":{"nodeType":"YulBlock","src":"2609:206:2","statements":[{"body":{"nodeType":"YulBlock","src":"2655:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2664:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2667:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2657:6:2"},"nodeType":"YulFunctionCall","src":"2657:12:2"},"nodeType":"YulExpressionStatement","src":"2657:12:2"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2630:7:2"},{"name":"headStart","nodeType":"YulIdentifier","src":"2639:9:2"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2626:3:2"},"nodeType":"YulFunctionCall","src":"2626:23:2"},{"kind":"number","nodeType":"YulLiteral","src":"2651:2:2","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2622:3:2"},"nodeType":"YulFunctionCall","src":"2622:32:2"},"nodeType":"YulIf","src":"2619:52:2"},{"nodeType":"YulVariableDeclaration","src":"2680:36:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2706:9:2"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2693:12:2"},"nodeType":"YulFunctionCall","src":"2693:23:2"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"2684:5:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"2769:16:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2778:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2781:1:2","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2771:6:2"},"nodeType":"YulFunctionCall","src":"2771:12:2"},"nodeType":"YulExpressionStatement","src":"2771:12:2"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"2738:5:2"},{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"2759:5:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"2752:6:2"},"nodeType":"YulFunctionCall","src":"2752:13:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"2745:6:2"},"nodeType":"YulFunctionCall","src":"2745:21:2"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"2735:2:2"},"nodeType":"YulFunctionCall","src":"2735:32:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"2728:6:2"},"nodeType":"YulFunctionCall","src":"2728:40:2"},"nodeType":"YulIf","src":"2725:60:2"},{"nodeType":"YulAssignment","src":"2794:15:2","value":{"name":"value","nodeType":"YulIdentifier","src":"2804:5:2"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"2794:6:2"}]}]},"name":"abi_decode_tuple_t_bool","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2575:9:2","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2586:7:2","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2598:6:2","type":""}],"src":"2542:273:2"},{"body":{"nodeType":"YulBlock","src":"2921:102:2","statements":[{"nodeType":"YulAssignment","src":"2931:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2943:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"2954:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2939:3:2"},"nodeType":"YulFunctionCall","src":"2939:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"2931:4:2"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2973:9:2"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"2988:6:2"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3004:3:2","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"3009:1:2","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"3000:3:2"},"nodeType":"YulFunctionCall","src":"3000:11:2"},{"kind":"number","nodeType":"YulLiteral","src":"3013:1:2","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2996:3:2"},"nodeType":"YulFunctionCall","src":"2996:19:2"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"2984:3:2"},"nodeType":"YulFunctionCall","src":"2984:32:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2966:6:2"},"nodeType":"YulFunctionCall","src":"2966:51:2"},"nodeType":"YulExpressionStatement","src":"2966:51:2"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2890:9:2","type":""},{"name":"value0","nodeType":"YulTypedName","src":"2901:6:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"2912:4:2","type":""}],"src":"2820:203:2"},{"body":{"nodeType":"YulBlock","src":"3060:95:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3077:1:2","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3084:3:2","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"3089:10:2","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"3080:3:2"},"nodeType":"YulFunctionCall","src":"3080:20:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3070:6:2"},"nodeType":"YulFunctionCall","src":"3070:31:2"},"nodeType":"YulExpressionStatement","src":"3070:31:2"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3117:1:2","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"3120:4:2","type":"","value":"0x21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3110:6:2"},"nodeType":"YulFunctionCall","src":"3110:15:2"},"nodeType":"YulExpressionStatement","src":"3110:15:2"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3141:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3144:4:2","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3134:6:2"},"nodeType":"YulFunctionCall","src":"3134:15:2"},"nodeType":"YulExpressionStatement","src":"3134:15:2"}]},"name":"panic_error_0x21","nodeType":"YulFunctionDefinition","src":"3028:127:2"},{"body":{"nodeType":"YulBlock","src":"3213:186:2","statements":[{"body":{"nodeType":"YulBlock","src":"3255:111:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3276:1:2","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3283:3:2","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"3288:10:2","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"3279:3:2"},"nodeType":"YulFunctionCall","src":"3279:20:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3269:6:2"},"nodeType":"YulFunctionCall","src":"3269:31:2"},"nodeType":"YulExpressionStatement","src":"3269:31:2"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3320:1:2","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"3323:4:2","type":"","value":"0x21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3313:6:2"},"nodeType":"YulFunctionCall","src":"3313:15:2"},"nodeType":"YulExpressionStatement","src":"3313:15:2"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3348:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3351:4:2","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3341:6:2"},"nodeType":"YulFunctionCall","src":"3341:15:2"},"nodeType":"YulExpressionStatement","src":"3341:15:2"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"3236:5:2"},{"kind":"number","nodeType":"YulLiteral","src":"3243:1:2","type":"","value":"3"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"3233:2:2"},"nodeType":"YulFunctionCall","src":"3233:12:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"3226:6:2"},"nodeType":"YulFunctionCall","src":"3226:20:2"},"nodeType":"YulIf","src":"3223:143:2"},{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"3382:3:2"},{"name":"value","nodeType":"YulIdentifier","src":"3387:5:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3375:6:2"},"nodeType":"YulFunctionCall","src":"3375:18:2"},"nodeType":"YulExpressionStatement","src":"3375:18:2"}]},"name":"abi_encode_enum_AgentStatus","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"3197:5:2","type":""},{"name":"pos","nodeType":"YulTypedName","src":"3204:3:2","type":""}],"src":"3160:239:2"},{"body":{"nodeType":"YulBlock","src":"3518:97:2","statements":[{"nodeType":"YulAssignment","src":"3528:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3540:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"3551:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3536:3:2"},"nodeType":"YulFunctionCall","src":"3536:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"3528:4:2"}]},{"expression":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3591:6:2"},{"name":"headStart","nodeType":"YulIdentifier","src":"3599:9:2"}],"functionName":{"name":"abi_encode_enum_AgentStatus","nodeType":"YulIdentifier","src":"3563:27:2"},"nodeType":"YulFunctionCall","src":"3563:46:2"},"nodeType":"YulExpressionStatement","src":"3563:46:2"}]},"name":"abi_encode_tuple_t_enum$_AgentStatus_$380__to_t_uint8__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3487:9:2","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3498:6:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3509:4:2","type":""}],"src":"3404:211:2"},{"body":{"nodeType":"YulBlock","src":"3773:550:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3790:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"3801:2:2","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3783:6:2"},"nodeType":"YulFunctionCall","src":"3783:21:2"},"nodeType":"YulExpressionStatement","src":"3783:21:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3824:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"3835:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3820:3:2"},"nodeType":"YulFunctionCall","src":"3820:18:2"},{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3850:6:2"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"3844:5:2"},"nodeType":"YulFunctionCall","src":"3844:13:2"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3867:3:2","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"3872:1:2","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"3863:3:2"},"nodeType":"YulFunctionCall","src":"3863:11:2"},{"kind":"number","nodeType":"YulLiteral","src":"3876:1:2","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3859:3:2"},"nodeType":"YulFunctionCall","src":"3859:19:2"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"3840:3:2"},"nodeType":"YulFunctionCall","src":"3840:39:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3813:6:2"},"nodeType":"YulFunctionCall","src":"3813:67:2"},"nodeType":"YulExpressionStatement","src":"3813:67:2"},{"nodeType":"YulVariableDeclaration","src":"3889:42:2","value":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"3919:6:2"},{"kind":"number","nodeType":"YulLiteral","src":"3927:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3915:3:2"},"nodeType":"YulFunctionCall","src":"3915:15:2"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"3909:5:2"},"nodeType":"YulFunctionCall","src":"3909:22:2"},"variables":[{"name":"memberValue0","nodeType":"YulTypedName","src":"3893:12:2","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3951:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"3962:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3947:3:2"},"nodeType":"YulFunctionCall","src":"3947:18:2"},{"kind":"number","nodeType":"YulLiteral","src":"3967:4:2","type":"","value":"0xa0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3940:6:2"},"nodeType":"YulFunctionCall","src":"3940:32:2"},"nodeType":"YulExpressionStatement","src":"3940:32:2"},{"nodeType":"YulVariableDeclaration","src":"3981:66:2","value":{"arguments":[{"name":"memberValue0","nodeType":"YulIdentifier","src":"4013:12:2"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4031:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"4042:3:2","type":"","value":"192"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4027:3:2"},"nodeType":"YulFunctionCall","src":"4027:19:2"}],"functionName":{"name":"abi_encode_string","nodeType":"YulIdentifier","src":"3995:17:2"},"nodeType":"YulFunctionCall","src":"3995:52:2"},"variables":[{"name":"tail_1","nodeType":"YulTypedName","src":"3985:6:2","type":""}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4067:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"4078:2:2","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4063:3:2"},"nodeType":"YulFunctionCall","src":"4063:18:2"},{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"4093:6:2"},{"kind":"number","nodeType":"YulLiteral","src":"4101:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4089:3:2"},"nodeType":"YulFunctionCall","src":"4089:15:2"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4083:5:2"},"nodeType":"YulFunctionCall","src":"4083:22:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4056:6:2"},"nodeType":"YulFunctionCall","src":"4056:50:2"},"nodeType":"YulExpressionStatement","src":"4056:50:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4126:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"4137:3:2","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4122:3:2"},"nodeType":"YulFunctionCall","src":"4122:19:2"},{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"4153:6:2"},{"kind":"number","nodeType":"YulLiteral","src":"4161:2:2","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4149:3:2"},"nodeType":"YulFunctionCall","src":"4149:15:2"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4143:5:2"},"nodeType":"YulFunctionCall","src":"4143:22:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4115:6:2"},"nodeType":"YulFunctionCall","src":"4115:51:2"},"nodeType":"YulExpressionStatement","src":"4115:51:2"},{"nodeType":"YulVariableDeclaration","src":"4175:45:2","value":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"4207:6:2"},{"kind":"number","nodeType":"YulLiteral","src":"4215:3:2","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4203:3:2"},"nodeType":"YulFunctionCall","src":"4203:16:2"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"4197:5:2"},"nodeType":"YulFunctionCall","src":"4197:23:2"},"variables":[{"name":"memberValue0_1","nodeType":"YulTypedName","src":"4179:14:2","type":""}]},{"expression":{"arguments":[{"name":"memberValue0_1","nodeType":"YulIdentifier","src":"4257:14:2"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4277:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"4288:4:2","type":"","value":"0xa0"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4273:3:2"},"nodeType":"YulFunctionCall","src":"4273:20:2"}],"functionName":{"name":"abi_encode_enum_AgentStatus","nodeType":"YulIdentifier","src":"4229:27:2"},"nodeType":"YulFunctionCall","src":"4229:65:2"},"nodeType":"YulExpressionStatement","src":"4229:65:2"},{"nodeType":"YulAssignment","src":"4303:14:2","value":{"name":"tail_1","nodeType":"YulIdentifier","src":"4311:6:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"4303:4:2"}]}]},"name":"abi_encode_tuple_t_struct$_AgentInfo_$392_memory_ptr__to_t_struct$_AgentInfo_$392_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3742:9:2","type":""},{"name":"value0","nodeType":"YulTypedName","src":"3753:6:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"3764:4:2","type":""}],"src":"3620:703:2"},{"body":{"nodeType":"YulBlock","src":"4383:325:2","statements":[{"nodeType":"YulAssignment","src":"4393:22:2","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4407:1:2","type":"","value":"1"},{"name":"data","nodeType":"YulIdentifier","src":"4410:4:2"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"4403:3:2"},"nodeType":"YulFunctionCall","src":"4403:12:2"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"4393:6:2"}]},{"nodeType":"YulVariableDeclaration","src":"4424:38:2","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"4454:4:2"},{"kind":"number","nodeType":"YulLiteral","src":"4460:1:2","type":"","value":"1"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"4450:3:2"},"nodeType":"YulFunctionCall","src":"4450:12:2"},"variables":[{"name":"outOfPlaceEncoding","nodeType":"YulTypedName","src":"4428:18:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"4501:31:2","statements":[{"nodeType":"YulAssignment","src":"4503:27:2","value":{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"4517:6:2"},{"kind":"number","nodeType":"YulLiteral","src":"4525:4:2","type":"","value":"0x7f"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"4513:3:2"},"nodeType":"YulFunctionCall","src":"4513:17:2"},"variableNames":[{"name":"length","nodeType":"YulIdentifier","src":"4503:6:2"}]}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"4481:18:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"4474:6:2"},"nodeType":"YulFunctionCall","src":"4474:26:2"},"nodeType":"YulIf","src":"4471:61:2"},{"body":{"nodeType":"YulBlock","src":"4591:111:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4612:1:2","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4619:3:2","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"4624:10:2","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"4615:3:2"},"nodeType":"YulFunctionCall","src":"4615:20:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4605:6:2"},"nodeType":"YulFunctionCall","src":"4605:31:2"},"nodeType":"YulExpressionStatement","src":"4605:31:2"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4656:1:2","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"4659:4:2","type":"","value":"0x22"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4649:6:2"},"nodeType":"YulFunctionCall","src":"4649:15:2"},"nodeType":"YulExpressionStatement","src":"4649:15:2"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4684:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4687:4:2","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4677:6:2"},"nodeType":"YulFunctionCall","src":"4677:15:2"},"nodeType":"YulExpressionStatement","src":"4677:15:2"}]},"condition":{"arguments":[{"name":"outOfPlaceEncoding","nodeType":"YulIdentifier","src":"4547:18:2"},{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"4570:6:2"},{"kind":"number","nodeType":"YulLiteral","src":"4578:2:2","type":"","value":"32"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"4567:2:2"},"nodeType":"YulFunctionCall","src":"4567:14:2"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"4544:2:2"},"nodeType":"YulFunctionCall","src":"4544:38:2"},"nodeType":"YulIf","src":"4541:161:2"}]},"name":"extract_byte_array_length","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"4363:4:2","type":""}],"returnVariables":[{"name":"length","nodeType":"YulTypedName","src":"4372:6:2","type":""}],"src":"4328:380:2"},{"body":{"nodeType":"YulBlock","src":"4887:158:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4904:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"4915:2:2","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4897:6:2"},"nodeType":"YulFunctionCall","src":"4897:21:2"},"nodeType":"YulExpressionStatement","src":"4897:21:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4938:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"4949:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4934:3:2"},"nodeType":"YulFunctionCall","src":"4934:18:2"},{"kind":"number","nodeType":"YulLiteral","src":"4954:1:2","type":"","value":"9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4927:6:2"},"nodeType":"YulFunctionCall","src":"4927:29:2"},"nodeType":"YulExpressionStatement","src":"4927:29:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4976:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"4987:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4972:3:2"},"nodeType":"YulFunctionCall","src":"4972:18:2"},{"hexValue":"4e4f545f4147454e54","kind":"string","nodeType":"YulLiteral","src":"4992:11:2","type":"","value":"NOT_AGENT"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4965:6:2"},"nodeType":"YulFunctionCall","src":"4965:39:2"},"nodeType":"YulExpressionStatement","src":"4965:39:2"},{"nodeType":"YulAssignment","src":"5013:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5025:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"5036:2:2","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5021:3:2"},"nodeType":"YulFunctionCall","src":"5021:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"5013:4:2"}]}]},"name":"abi_encode_tuple_t_stringliteral_497353054b8aaf467e1467445993a7540100e465c9d4ad766c3377a3c173bf69__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4864:9:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"4878:4:2","type":""}],"src":"4713:332:2"},{"body":{"nodeType":"YulBlock","src":"5224:161:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5241:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"5252:2:2","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5234:6:2"},"nodeType":"YulFunctionCall","src":"5234:21:2"},"nodeType":"YulExpressionStatement","src":"5234:21:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5275:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"5286:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5271:3:2"},"nodeType":"YulFunctionCall","src":"5271:18:2"},{"kind":"number","nodeType":"YulLiteral","src":"5291:2:2","type":"","value":"11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5264:6:2"},"nodeType":"YulFunctionCall","src":"5264:30:2"},"nodeType":"YulExpressionStatement","src":"5264:30:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5314:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"5325:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5310:3:2"},"nodeType":"YulFunctionCall","src":"5310:18:2"},{"hexValue":"5a45524f5f414d4f554e54","kind":"string","nodeType":"YulLiteral","src":"5330:13:2","type":"","value":"ZERO_AMOUNT"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5303:6:2"},"nodeType":"YulFunctionCall","src":"5303:41:2"},"nodeType":"YulExpressionStatement","src":"5303:41:2"},{"nodeType":"YulAssignment","src":"5353:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5365:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"5376:2:2","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5361:3:2"},"nodeType":"YulFunctionCall","src":"5361:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"5353:4:2"}]}]},"name":"abi_encode_tuple_t_stringliteral_ad8e292265788ac5c19f708ed96612bf3229f5fbdf9e1b9b3466c3f5a1b60243__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5201:9:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"5215:4:2","type":""}],"src":"5050:335:2"},{"body":{"nodeType":"YulBlock","src":"5564:170:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5581:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"5592:2:2","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5574:6:2"},"nodeType":"YulFunctionCall","src":"5574:21:2"},"nodeType":"YulExpressionStatement","src":"5574:21:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5615:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"5626:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5611:3:2"},"nodeType":"YulFunctionCall","src":"5611:18:2"},{"kind":"number","nodeType":"YulLiteral","src":"5631:2:2","type":"","value":"20"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5604:6:2"},"nodeType":"YulFunctionCall","src":"5604:30:2"},"nodeType":"YulExpressionStatement","src":"5604:30:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5654:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"5665:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5650:3:2"},"nodeType":"YulFunctionCall","src":"5650:18:2"},{"hexValue":"494e53554646494349454e545f42414c414e4345","kind":"string","nodeType":"YulLiteral","src":"5670:22:2","type":"","value":"INSUFFICIENT_BALANCE"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5643:6:2"},"nodeType":"YulFunctionCall","src":"5643:50:2"},"nodeType":"YulExpressionStatement","src":"5643:50:2"},{"nodeType":"YulAssignment","src":"5702:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5714:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"5725:2:2","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5710:3:2"},"nodeType":"YulFunctionCall","src":"5710:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"5702:4:2"}]}]},"name":"abi_encode_tuple_t_stringliteral_153c6a82d06260899a3190a7f053b8e53b5844ee1a57108f9b35d4e78ccddb58__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5541:9:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"5555:4:2","type":""}],"src":"5390:344:2"},{"body":{"nodeType":"YulBlock","src":"5771:95:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5788:1:2","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5795:3:2","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"5800:10:2","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"5791:3:2"},"nodeType":"YulFunctionCall","src":"5791:20:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5781:6:2"},"nodeType":"YulFunctionCall","src":"5781:31:2"},"nodeType":"YulExpressionStatement","src":"5781:31:2"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5828:1:2","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"5831:4:2","type":"","value":"0x11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5821:6:2"},"nodeType":"YulFunctionCall","src":"5821:15:2"},"nodeType":"YulExpressionStatement","src":"5821:15:2"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5852:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5855:4:2","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5845:6:2"},"nodeType":"YulFunctionCall","src":"5845:15:2"},"nodeType":"YulExpressionStatement","src":"5845:15:2"}]},"name":"panic_error_0x11","nodeType":"YulFunctionDefinition","src":"5739:127:2"},{"body":{"nodeType":"YulBlock","src":"5920:79:2","statements":[{"nodeType":"YulAssignment","src":"5930:17:2","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"5942:1:2"},{"name":"y","nodeType":"YulIdentifier","src":"5945:1:2"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"5938:3:2"},"nodeType":"YulFunctionCall","src":"5938:9:2"},"variableNames":[{"name":"diff","nodeType":"YulIdentifier","src":"5930:4:2"}]},{"body":{"nodeType":"YulBlock","src":"5971:22:2","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"5973:16:2"},"nodeType":"YulFunctionCall","src":"5973:18:2"},"nodeType":"YulExpressionStatement","src":"5973:18:2"}]},"condition":{"arguments":[{"name":"diff","nodeType":"YulIdentifier","src":"5962:4:2"},{"name":"x","nodeType":"YulIdentifier","src":"5968:1:2"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"5959:2:2"},"nodeType":"YulFunctionCall","src":"5959:11:2"},"nodeType":"YulIf","src":"5956:37:2"}]},"name":"checked_sub_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"5902:1:2","type":""},{"name":"y","nodeType":"YulTypedName","src":"5905:1:2","type":""}],"returnVariables":[{"name":"diff","nodeType":"YulTypedName","src":"5911:4:2","type":""}],"src":"5871:128:2"},{"body":{"nodeType":"YulBlock","src":"6195:14:2","statements":[{"nodeType":"YulAssignment","src":"6197:10:2","value":{"name":"pos","nodeType":"YulIdentifier","src":"6204:3:2"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"6197:3:2"}]}]},"name":"abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"pos","nodeType":"YulTypedName","src":"6179:3:2","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"6187:3:2","type":""}],"src":"6004:205:2"},{"body":{"nodeType":"YulBlock","src":"6388:165:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6405:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"6416:2:2","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6398:6:2"},"nodeType":"YulFunctionCall","src":"6398:21:2"},"nodeType":"YulExpressionStatement","src":"6398:21:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6439:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"6450:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6435:3:2"},"nodeType":"YulFunctionCall","src":"6435:18:2"},{"kind":"number","nodeType":"YulLiteral","src":"6455:2:2","type":"","value":"15"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6428:6:2"},"nodeType":"YulFunctionCall","src":"6428:30:2"},"nodeType":"YulExpressionStatement","src":"6428:30:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6478:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"6489:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6474:3:2"},"nodeType":"YulFunctionCall","src":"6474:18:2"},{"hexValue":"5452414e534645525f4641494c4544","kind":"string","nodeType":"YulLiteral","src":"6494:17:2","type":"","value":"TRANSFER_FAILED"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6467:6:2"},"nodeType":"YulFunctionCall","src":"6467:45:2"},"nodeType":"YulExpressionStatement","src":"6467:45:2"},{"nodeType":"YulAssignment","src":"6521:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6533:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"6544:2:2","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6529:3:2"},"nodeType":"YulFunctionCall","src":"6529:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"6521:4:2"}]}]},"name":"abi_encode_tuple_t_stringliteral_8bf8f0d780f13740660fe63233b17f96cb1813889e7dce4121e55b817b367b72__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6365:9:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"6379:4:2","type":""}],"src":"6214:339:2"},{"body":{"nodeType":"YulBlock","src":"6732:158:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6749:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"6760:2:2","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6742:6:2"},"nodeType":"YulFunctionCall","src":"6742:21:2"},"nodeType":"YulExpressionStatement","src":"6742:21:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6783:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"6794:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6779:3:2"},"nodeType":"YulFunctionCall","src":"6779:18:2"},{"kind":"number","nodeType":"YulLiteral","src":"6799:1:2","type":"","value":"9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6772:6:2"},"nodeType":"YulFunctionCall","src":"6772:29:2"},"nodeType":"YulExpressionStatement","src":"6772:29:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6821:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"6832:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6817:3:2"},"nodeType":"YulFunctionCall","src":"6817:18:2"},{"hexValue":"4e4f545f4f574e4552","kind":"string","nodeType":"YulLiteral","src":"6837:11:2","type":"","value":"NOT_OWNER"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6810:6:2"},"nodeType":"YulFunctionCall","src":"6810:39:2"},"nodeType":"YulExpressionStatement","src":"6810:39:2"},{"nodeType":"YulAssignment","src":"6858:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6870:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"6881:2:2","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6866:3:2"},"nodeType":"YulFunctionCall","src":"6866:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"6858:4:2"}]}]},"name":"abi_encode_tuple_t_stringliteral_d4d6719c9f6bf1f398a61e7ceb8dff26d48346602421236409d0fb0b222f65b2__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6709:9:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"6723:4:2","type":""}],"src":"6558:332:2"},{"body":{"nodeType":"YulBlock","src":"6927:95:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6944:1:2","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6951:3:2","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"6956:10:2","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"6947:3:2"},"nodeType":"YulFunctionCall","src":"6947:20:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6937:6:2"},"nodeType":"YulFunctionCall","src":"6937:31:2"},"nodeType":"YulExpressionStatement","src":"6937:31:2"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6984:1:2","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"6987:4:2","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"6977:6:2"},"nodeType":"YulFunctionCall","src":"6977:15:2"},"nodeType":"YulExpressionStatement","src":"6977:15:2"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7008:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7011:4:2","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"7001:6:2"},"nodeType":"YulFunctionCall","src":"7001:15:2"},"nodeType":"YulExpressionStatement","src":"7001:15:2"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"6895:127:2"},{"body":{"nodeType":"YulBlock","src":"7083:65:2","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7100:1:2","type":"","value":"0"},{"name":"ptr","nodeType":"YulIdentifier","src":"7103:3:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7093:6:2"},"nodeType":"YulFunctionCall","src":"7093:14:2"},"nodeType":"YulExpressionStatement","src":"7093:14:2"},{"nodeType":"YulAssignment","src":"7116:26:2","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7134:1:2","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"7137:4:2","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"7124:9:2"},"nodeType":"YulFunctionCall","src":"7124:18:2"},"variableNames":[{"name":"data","nodeType":"YulIdentifier","src":"7116:4:2"}]}]},"name":"array_dataslot_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"ptr","nodeType":"YulTypedName","src":"7066:3:2","type":""}],"returnVariables":[{"name":"data","nodeType":"YulTypedName","src":"7074:4:2","type":""}],"src":"7027:121:2"},{"body":{"nodeType":"YulBlock","src":"7234:464:2","statements":[{"body":{"nodeType":"YulBlock","src":"7267:425:2","statements":[{"nodeType":"YulVariableDeclaration","src":"7281:11:2","value":{"kind":"number","nodeType":"YulLiteral","src":"7291:1:2","type":"","value":"0"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"7285:2:2","type":""}]},{"expression":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"7312:2:2"},{"name":"array","nodeType":"YulIdentifier","src":"7316:5:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7305:6:2"},"nodeType":"YulFunctionCall","src":"7305:17:2"},"nodeType":"YulExpressionStatement","src":"7305:17:2"},{"nodeType":"YulVariableDeclaration","src":"7335:31:2","value":{"arguments":[{"name":"_1","nodeType":"YulIdentifier","src":"7357:2:2"},{"kind":"number","nodeType":"YulLiteral","src":"7361:4:2","type":"","value":"0x20"}],"functionName":{"name":"keccak256","nodeType":"YulIdentifier","src":"7347:9:2"},"nodeType":"YulFunctionCall","src":"7347:19:2"},"variables":[{"name":"data","nodeType":"YulTypedName","src":"7339:4:2","type":""}]},{"nodeType":"YulVariableDeclaration","src":"7379:57:2","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"7402:4:2"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7412:1:2","type":"","value":"5"},{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"7419:10:2"},{"kind":"number","nodeType":"YulLiteral","src":"7431:2:2","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7415:3:2"},"nodeType":"YulFunctionCall","src":"7415:19:2"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7408:3:2"},"nodeType":"YulFunctionCall","src":"7408:27:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7398:3:2"},"nodeType":"YulFunctionCall","src":"7398:38:2"},"variables":[{"name":"deleteStart","nodeType":"YulTypedName","src":"7383:11:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"7473:23:2","statements":[{"nodeType":"YulAssignment","src":"7475:19:2","value":{"name":"data","nodeType":"YulIdentifier","src":"7490:4:2"},"variableNames":[{"name":"deleteStart","nodeType":"YulIdentifier","src":"7475:11:2"}]}]},"condition":{"arguments":[{"name":"startIndex","nodeType":"YulIdentifier","src":"7455:10:2"},{"kind":"number","nodeType":"YulLiteral","src":"7467:4:2","type":"","value":"0x20"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"7452:2:2"},"nodeType":"YulFunctionCall","src":"7452:20:2"},"nodeType":"YulIf","src":"7449:47:2"},{"nodeType":"YulVariableDeclaration","src":"7509:41:2","value":{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"7523:4:2"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7533:1:2","type":"","value":"5"},{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"7540:3:2"},{"kind":"number","nodeType":"YulLiteral","src":"7545:2:2","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7536:3:2"},"nodeType":"YulFunctionCall","src":"7536:12:2"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7529:3:2"},"nodeType":"YulFunctionCall","src":"7529:20:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7519:3:2"},"nodeType":"YulFunctionCall","src":"7519:31:2"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"7513:2:2","type":""}]},{"nodeType":"YulVariableDeclaration","src":"7563:24:2","value":{"name":"deleteStart","nodeType":"YulIdentifier","src":"7576:11:2"},"variables":[{"name":"start","nodeType":"YulTypedName","src":"7567:5:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"7661:21:2","statements":[{"expression":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"7670:5:2"},{"name":"_1","nodeType":"YulIdentifier","src":"7677:2:2"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"7663:6:2"},"nodeType":"YulFunctionCall","src":"7663:17:2"},"nodeType":"YulExpressionStatement","src":"7663:17:2"}]},"condition":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"7611:5:2"},{"name":"_2","nodeType":"YulIdentifier","src":"7618:2:2"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"7608:2:2"},"nodeType":"YulFunctionCall","src":"7608:13:2"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"7622:26:2","statements":[{"nodeType":"YulAssignment","src":"7624:22:2","value":{"arguments":[{"name":"start","nodeType":"YulIdentifier","src":"7637:5:2"},{"kind":"number","nodeType":"YulLiteral","src":"7644:1:2","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7633:3:2"},"nodeType":"YulFunctionCall","src":"7633:13:2"},"variableNames":[{"name":"start","nodeType":"YulIdentifier","src":"7624:5:2"}]}]},"pre":{"nodeType":"YulBlock","src":"7604:3:2","statements":[]},"src":"7600:82:2"}]},"condition":{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"7250:3:2"},{"kind":"number","nodeType":"YulLiteral","src":"7255:2:2","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"7247:2:2"},"nodeType":"YulFunctionCall","src":"7247:11:2"},"nodeType":"YulIf","src":"7244:448:2"}]},"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"array","nodeType":"YulTypedName","src":"7206:5:2","type":""},{"name":"len","nodeType":"YulTypedName","src":"7213:3:2","type":""},{"name":"startIndex","nodeType":"YulTypedName","src":"7218:10:2","type":""}],"src":"7153:545:2"},{"body":{"nodeType":"YulBlock","src":"7788:81:2","statements":[{"nodeType":"YulAssignment","src":"7798:65:2","value":{"arguments":[{"arguments":[{"name":"data","nodeType":"YulIdentifier","src":"7813:4:2"},{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7831:1:2","type":"","value":"3"},{"name":"len","nodeType":"YulIdentifier","src":"7834:3:2"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"7827:3:2"},"nodeType":"YulFunctionCall","src":"7827:11:2"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7844:1:2","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"7840:3:2"},"nodeType":"YulFunctionCall","src":"7840:6:2"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"7823:3:2"},"nodeType":"YulFunctionCall","src":"7823:24:2"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"7819:3:2"},"nodeType":"YulFunctionCall","src":"7819:29:2"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"7809:3:2"},"nodeType":"YulFunctionCall","src":"7809:40:2"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7855:1:2","type":"","value":"1"},{"name":"len","nodeType":"YulIdentifier","src":"7858:3:2"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"7851:3:2"},"nodeType":"YulFunctionCall","src":"7851:11:2"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"7806:2:2"},"nodeType":"YulFunctionCall","src":"7806:57:2"},"variableNames":[{"name":"used","nodeType":"YulIdentifier","src":"7798:4:2"}]}]},"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulFunctionDefinition","parameters":[{"name":"data","nodeType":"YulTypedName","src":"7765:4:2","type":""},{"name":"len","nodeType":"YulTypedName","src":"7771:3:2","type":""}],"returnVariables":[{"name":"used","nodeType":"YulTypedName","src":"7779:4:2","type":""}],"src":"7703:166:2"},{"body":{"nodeType":"YulBlock","src":"7977:1103:2","statements":[{"body":{"nodeType":"YulBlock","src":"8018:22:2","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"8020:16:2"},"nodeType":"YulFunctionCall","src":"8020:18:2"},"nodeType":"YulExpressionStatement","src":"8020:18:2"}]},"condition":{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"7993:3:2"},{"kind":"number","nodeType":"YulLiteral","src":"7998:18:2","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"7990:2:2"},"nodeType":"YulFunctionCall","src":"7990:27:2"},"nodeType":"YulIf","src":"7987:53:2"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"8093:4:2"},{"arguments":[{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"8131:4:2"}],"functionName":{"name":"sload","nodeType":"YulIdentifier","src":"8125:5:2"},"nodeType":"YulFunctionCall","src":"8125:11:2"}],"functionName":{"name":"extract_byte_array_length","nodeType":"YulIdentifier","src":"8099:25:2"},"nodeType":"YulFunctionCall","src":"8099:38:2"},{"name":"len","nodeType":"YulIdentifier","src":"8139:3:2"}],"functionName":{"name":"clean_up_bytearray_end_slots_string_storage","nodeType":"YulIdentifier","src":"8049:43:2"},"nodeType":"YulFunctionCall","src":"8049:94:2"},"nodeType":"YulExpressionStatement","src":"8049:94:2"},{"nodeType":"YulVariableDeclaration","src":"8152:18:2","value":{"kind":"number","nodeType":"YulLiteral","src":"8169:1:2","type":"","value":"0"},"variables":[{"name":"srcOffset","nodeType":"YulTypedName","src":"8156:9:2","type":""}]},{"cases":[{"body":{"nodeType":"YulBlock","src":"8213:609:2","statements":[{"nodeType":"YulVariableDeclaration","src":"8227:32:2","value":{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"8246:3:2"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8255:2:2","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"8251:3:2"},"nodeType":"YulFunctionCall","src":"8251:7:2"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"8242:3:2"},"nodeType":"YulFunctionCall","src":"8242:17:2"},"variables":[{"name":"loopEnd","nodeType":"YulTypedName","src":"8231:7:2","type":""}]},{"nodeType":"YulVariableDeclaration","src":"8272:49:2","value":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"8316:4:2"}],"functionName":{"name":"array_dataslot_string_storage","nodeType":"YulIdentifier","src":"8286:29:2"},"nodeType":"YulFunctionCall","src":"8286:35:2"},"variables":[{"name":"dstPtr","nodeType":"YulTypedName","src":"8276:6:2","type":""}]},{"nodeType":"YulVariableDeclaration","src":"8334:18:2","value":{"name":"srcOffset","nodeType":"YulIdentifier","src":"8343:9:2"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"8338:1:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"8422:172:2","statements":[{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"8447:6:2"},{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"8472:3:2"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"8477:9:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8468:3:2"},"nodeType":"YulFunctionCall","src":"8468:19:2"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8455:12:2"},"nodeType":"YulFunctionCall","src":"8455:33:2"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"8440:6:2"},"nodeType":"YulFunctionCall","src":"8440:49:2"},"nodeType":"YulExpressionStatement","src":"8440:49:2"},{"nodeType":"YulAssignment","src":"8506:24:2","value":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"8520:6:2"},{"kind":"number","nodeType":"YulLiteral","src":"8528:1:2","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8516:3:2"},"nodeType":"YulFunctionCall","src":"8516:14:2"},"variableNames":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"8506:6:2"}]},{"nodeType":"YulAssignment","src":"8547:33:2","value":{"arguments":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"8564:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"8575:4:2","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8560:3:2"},"nodeType":"YulFunctionCall","src":"8560:20:2"},"variableNames":[{"name":"srcOffset","nodeType":"YulIdentifier","src":"8547:9:2"}]}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"8376:1:2"},{"name":"loopEnd","nodeType":"YulIdentifier","src":"8379:7:2"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"8373:2:2"},"nodeType":"YulFunctionCall","src":"8373:14:2"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"8388:21:2","statements":[{"nodeType":"YulAssignment","src":"8390:17:2","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"8399:1:2"},{"kind":"number","nodeType":"YulLiteral","src":"8402:4:2","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8395:3:2"},"nodeType":"YulFunctionCall","src":"8395:12:2"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"8390:1:2"}]}]},"pre":{"nodeType":"YulBlock","src":"8369:3:2","statements":[]},"src":"8365:229:2"},{"body":{"nodeType":"YulBlock","src":"8639:127:2","statements":[{"expression":{"arguments":[{"name":"dstPtr","nodeType":"YulIdentifier","src":"8664:6:2"},{"arguments":[{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"8693:3:2"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"8698:9:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8689:3:2"},"nodeType":"YulFunctionCall","src":"8689:19:2"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8676:12:2"},"nodeType":"YulFunctionCall","src":"8676:33:2"},{"arguments":[{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8727:1:2","type":"","value":"3"},{"name":"len","nodeType":"YulIdentifier","src":"8730:3:2"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"8723:3:2"},"nodeType":"YulFunctionCall","src":"8723:11:2"},{"kind":"number","nodeType":"YulLiteral","src":"8736:3:2","type":"","value":"248"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"8719:3:2"},"nodeType":"YulFunctionCall","src":"8719:21:2"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8746:1:2","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"8742:3:2"},"nodeType":"YulFunctionCall","src":"8742:6:2"}],"functionName":{"name":"shr","nodeType":"YulIdentifier","src":"8715:3:2"},"nodeType":"YulFunctionCall","src":"8715:34:2"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"8711:3:2"},"nodeType":"YulFunctionCall","src":"8711:39:2"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"8672:3:2"},"nodeType":"YulFunctionCall","src":"8672:79:2"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"8657:6:2"},"nodeType":"YulFunctionCall","src":"8657:95:2"},"nodeType":"YulExpressionStatement","src":"8657:95:2"}]},"condition":{"arguments":[{"name":"loopEnd","nodeType":"YulIdentifier","src":"8613:7:2"},{"name":"len","nodeType":"YulIdentifier","src":"8622:3:2"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"8610:2:2"},"nodeType":"YulFunctionCall","src":"8610:16:2"},"nodeType":"YulIf","src":"8607:159:2"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"8786:4:2"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8800:1:2","type":"","value":"1"},{"name":"len","nodeType":"YulIdentifier","src":"8803:3:2"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"8796:3:2"},"nodeType":"YulFunctionCall","src":"8796:11:2"},{"kind":"number","nodeType":"YulLiteral","src":"8809:1:2","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8792:3:2"},"nodeType":"YulFunctionCall","src":"8792:19:2"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"8779:6:2"},"nodeType":"YulFunctionCall","src":"8779:33:2"},"nodeType":"YulExpressionStatement","src":"8779:33:2"}]},"nodeType":"YulCase","src":"8206:616:2","value":{"kind":"number","nodeType":"YulLiteral","src":"8211:1:2","type":"","value":"1"}},{"body":{"nodeType":"YulBlock","src":"8839:235:2","statements":[{"nodeType":"YulVariableDeclaration","src":"8853:14:2","value":{"kind":"number","nodeType":"YulLiteral","src":"8866:1:2","type":"","value":"0"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"8857:5:2","type":""}]},{"body":{"nodeType":"YulBlock","src":"8899:74:2","statements":[{"nodeType":"YulAssignment","src":"8917:42:2","value":{"arguments":[{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"8943:3:2"},{"name":"srcOffset","nodeType":"YulIdentifier","src":"8948:9:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8939:3:2"},"nodeType":"YulFunctionCall","src":"8939:19:2"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"8926:12:2"},"nodeType":"YulFunctionCall","src":"8926:33:2"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"8917:5:2"}]}]},"condition":{"name":"len","nodeType":"YulIdentifier","src":"8883:3:2"},"nodeType":"YulIf","src":"8880:93:2"},{"expression":{"arguments":[{"name":"slot","nodeType":"YulIdentifier","src":"8993:4:2"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"9052:5:2"},{"name":"len","nodeType":"YulIdentifier","src":"9059:3:2"}],"functionName":{"name":"extract_used_part_and_set_length_of_short_byte_array","nodeType":"YulIdentifier","src":"8999:52:2"},"nodeType":"YulFunctionCall","src":"8999:64:2"}],"functionName":{"name":"sstore","nodeType":"YulIdentifier","src":"8986:6:2"},"nodeType":"YulFunctionCall","src":"8986:78:2"},"nodeType":"YulExpressionStatement","src":"8986:78:2"}]},"nodeType":"YulCase","src":"8831:243:2","value":"default"}],"expression":{"arguments":[{"name":"len","nodeType":"YulIdentifier","src":"8189:3:2"},{"kind":"number","nodeType":"YulLiteral","src":"8194:2:2","type":"","value":"31"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"8186:2:2"},"nodeType":"YulFunctionCall","src":"8186:11:2"},"nodeType":"YulSwitch","src":"8179:895:2"}]},"name":"copy_byte_array_to_storage_from_t_string_calldata_ptr_to_t_string_storage","nodeType":"YulFunctionDefinition","parameters":[{"name":"slot","nodeType":"YulTypedName","src":"7957:4:2","type":""},{"name":"src","nodeType":"YulTypedName","src":"7963:3:2","type":""},{"name":"len","nodeType":"YulTypedName","src":"7968:3:2","type":""}],"src":"7874:1206:2"},{"body":{"nodeType":"YulBlock","src":"9152:200:2","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"9169:3:2"},{"name":"length","nodeType":"YulIdentifier","src":"9174:6:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9162:6:2"},"nodeType":"YulFunctionCall","src":"9162:19:2"},"nodeType":"YulExpressionStatement","src":"9162:19:2"},{"expression":{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"9207:3:2"},{"kind":"number","nodeType":"YulLiteral","src":"9212:4:2","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9203:3:2"},"nodeType":"YulFunctionCall","src":"9203:14:2"},{"name":"start","nodeType":"YulIdentifier","src":"9219:5:2"},{"name":"length","nodeType":"YulIdentifier","src":"9226:6:2"}],"functionName":{"name":"calldatacopy","nodeType":"YulIdentifier","src":"9190:12:2"},"nodeType":"YulFunctionCall","src":"9190:43:2"},"nodeType":"YulExpressionStatement","src":"9190:43:2"},{"expression":{"arguments":[{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"9257:3:2"},{"name":"length","nodeType":"YulIdentifier","src":"9262:6:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9253:3:2"},"nodeType":"YulFunctionCall","src":"9253:16:2"},{"kind":"number","nodeType":"YulLiteral","src":"9271:4:2","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9249:3:2"},"nodeType":"YulFunctionCall","src":"9249:27:2"},{"kind":"number","nodeType":"YulLiteral","src":"9278:1:2","type":"","value":"0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9242:6:2"},"nodeType":"YulFunctionCall","src":"9242:38:2"},"nodeType":"YulExpressionStatement","src":"9242:38:2"},{"nodeType":"YulAssignment","src":"9289:57:2","value":{"arguments":[{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"9304:3:2"},{"arguments":[{"arguments":[{"name":"length","nodeType":"YulIdentifier","src":"9317:6:2"},{"kind":"number","nodeType":"YulLiteral","src":"9325:2:2","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9313:3:2"},"nodeType":"YulFunctionCall","src":"9313:15:2"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9334:2:2","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"9330:3:2"},"nodeType":"YulFunctionCall","src":"9330:7:2"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"9309:3:2"},"nodeType":"YulFunctionCall","src":"9309:29:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9300:3:2"},"nodeType":"YulFunctionCall","src":"9300:39:2"},{"kind":"number","nodeType":"YulLiteral","src":"9341:4:2","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9296:3:2"},"nodeType":"YulFunctionCall","src":"9296:50:2"},"variableNames":[{"name":"end","nodeType":"YulIdentifier","src":"9289:3:2"}]}]},"name":"abi_encode_string_calldata","nodeType":"YulFunctionDefinition","parameters":[{"name":"start","nodeType":"YulTypedName","src":"9121:5:2","type":""},{"name":"length","nodeType":"YulTypedName","src":"9128:6:2","type":""},{"name":"pos","nodeType":"YulTypedName","src":"9136:3:2","type":""}],"returnVariables":[{"name":"end","nodeType":"YulTypedName","src":"9144:3:2","type":""}],"src":"9085:267:2"},{"body":{"nodeType":"YulBlock","src":"9488:116:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9505:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"9516:2:2","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9498:6:2"},"nodeType":"YulFunctionCall","src":"9498:21:2"},"nodeType":"YulExpressionStatement","src":"9498:21:2"},{"nodeType":"YulAssignment","src":"9528:70:2","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"9563:6:2"},{"name":"value1","nodeType":"YulIdentifier","src":"9571:6:2"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9583:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"9594:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9579:3:2"},"nodeType":"YulFunctionCall","src":"9579:18:2"}],"functionName":{"name":"abi_encode_string_calldata","nodeType":"YulIdentifier","src":"9536:26:2"},"nodeType":"YulFunctionCall","src":"9536:62:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"9528:4:2"}]}]},"name":"abi_encode_tuple_t_string_calldata_ptr__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"9449:9:2","type":""},{"name":"value1","nodeType":"YulTypedName","src":"9460:6:2","type":""},{"name":"value0","nodeType":"YulTypedName","src":"9468:6:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"9479:4:2","type":""}],"src":"9357:247:2"},{"body":{"nodeType":"YulBlock","src":"9783:160:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9800:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"9811:2:2","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9793:6:2"},"nodeType":"YulFunctionCall","src":"9793:21:2"},"nodeType":"YulExpressionStatement","src":"9793:21:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9834:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"9845:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9830:3:2"},"nodeType":"YulFunctionCall","src":"9830:18:2"},{"kind":"number","nodeType":"YulLiteral","src":"9850:2:2","type":"","value":"10"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9823:6:2"},"nodeType":"YulFunctionCall","src":"9823:30:2"},"nodeType":"YulExpressionStatement","src":"9823:30:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9873:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"9884:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9869:3:2"},"nodeType":"YulFunctionCall","src":"9869:18:2"},{"hexValue":"5a45524f5f5354414b45","kind":"string","nodeType":"YulLiteral","src":"9889:12:2","type":"","value":"ZERO_STAKE"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9862:6:2"},"nodeType":"YulFunctionCall","src":"9862:40:2"},"nodeType":"YulExpressionStatement","src":"9862:40:2"},{"nodeType":"YulAssignment","src":"9911:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9923:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"9934:2:2","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9919:3:2"},"nodeType":"YulFunctionCall","src":"9919:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"9911:4:2"}]}]},"name":"abi_encode_tuple_t_stringliteral_0c7dff25e27f91880a108fa8b1da75066db68f0d778484c87a9fb06d6f5e9ce6__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"9760:9:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"9774:4:2","type":""}],"src":"9609:334:2"},{"body":{"nodeType":"YulBlock","src":"9996:77:2","statements":[{"nodeType":"YulAssignment","src":"10006:16:2","value":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"10017:1:2"},{"name":"y","nodeType":"YulIdentifier","src":"10020:1:2"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10013:3:2"},"nodeType":"YulFunctionCall","src":"10013:9:2"},"variableNames":[{"name":"sum","nodeType":"YulIdentifier","src":"10006:3:2"}]},{"body":{"nodeType":"YulBlock","src":"10045:22:2","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x11","nodeType":"YulIdentifier","src":"10047:16:2"},"nodeType":"YulFunctionCall","src":"10047:18:2"},"nodeType":"YulExpressionStatement","src":"10047:18:2"}]},"condition":{"arguments":[{"name":"x","nodeType":"YulIdentifier","src":"10037:1:2"},{"name":"sum","nodeType":"YulIdentifier","src":"10040:3:2"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"10034:2:2"},"nodeType":"YulFunctionCall","src":"10034:10:2"},"nodeType":"YulIf","src":"10031:36:2"}]},"name":"checked_add_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"x","nodeType":"YulTypedName","src":"9979:1:2","type":""},{"name":"y","nodeType":"YulTypedName","src":"9982:1:2","type":""}],"returnVariables":[{"name":"sum","nodeType":"YulTypedName","src":"9988:3:2","type":""}],"src":"9948:125:2"},{"body":{"nodeType":"YulBlock","src":"10201:135:2","statements":[{"nodeType":"YulAssignment","src":"10211:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10223:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"10234:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10219:3:2"},"nodeType":"YulFunctionCall","src":"10219:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"10211:4:2"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10253:9:2"},{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10278:6:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"10271:6:2"},"nodeType":"YulFunctionCall","src":"10271:14:2"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"10264:6:2"},"nodeType":"YulFunctionCall","src":"10264:22:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10246:6:2"},"nodeType":"YulFunctionCall","src":"10246:41:2"},"nodeType":"YulExpressionStatement","src":"10246:41:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10307:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"10318:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10303:3:2"},"nodeType":"YulFunctionCall","src":"10303:18:2"},{"name":"value1","nodeType":"YulIdentifier","src":"10323:6:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10296:6:2"},"nodeType":"YulFunctionCall","src":"10296:34:2"},"nodeType":"YulExpressionStatement","src":"10296:34:2"}]},"name":"abi_encode_tuple_t_bool_t_uint256__to_t_bool_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10162:9:2","type":""},{"name":"value1","nodeType":"YulTypedName","src":"10173:6:2","type":""},{"name":"value0","nodeType":"YulTypedName","src":"10181:6:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"10192:4:2","type":""}],"src":"10078:258:2"},{"body":{"nodeType":"YulBlock","src":"10515:168:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10532:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"10543:2:2","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10525:6:2"},"nodeType":"YulFunctionCall","src":"10525:21:2"},"nodeType":"YulExpressionStatement","src":"10525:21:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10566:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"10577:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10562:3:2"},"nodeType":"YulFunctionCall","src":"10562:18:2"},{"kind":"number","nodeType":"YulLiteral","src":"10582:2:2","type":"","value":"18"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10555:6:2"},"nodeType":"YulFunctionCall","src":"10555:30:2"},"nodeType":"YulExpressionStatement","src":"10555:30:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10605:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"10616:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10601:3:2"},"nodeType":"YulFunctionCall","src":"10601:18:2"},{"hexValue":"494e53554646494349454e545f5354414b45","kind":"string","nodeType":"YulLiteral","src":"10621:20:2","type":"","value":"INSUFFICIENT_STAKE"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10594:6:2"},"nodeType":"YulFunctionCall","src":"10594:48:2"},"nodeType":"YulExpressionStatement","src":"10594:48:2"},{"nodeType":"YulAssignment","src":"10651:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10663:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"10674:2:2","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10659:3:2"},"nodeType":"YulFunctionCall","src":"10659:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"10651:4:2"}]}]},"name":"abi_encode_tuple_t_stringliteral_e2a7ea4962ff7134d37c21ee93f73a25055ef4e82879c6aee85351b8935a0c09__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10492:9:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"10506:4:2","type":""}],"src":"10341:342:2"},{"body":{"nodeType":"YulBlock","src":"10847:159:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10864:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"10875:2:2","type":"","value":"64"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10857:6:2"},"nodeType":"YulFunctionCall","src":"10857:21:2"},"nodeType":"YulExpressionStatement","src":"10857:21:2"},{"nodeType":"YulAssignment","src":"10887:70:2","value":{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"10922:6:2"},{"name":"value1","nodeType":"YulIdentifier","src":"10930:6:2"},{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10942:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"10953:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10938:3:2"},"nodeType":"YulFunctionCall","src":"10938:18:2"}],"functionName":{"name":"abi_encode_string_calldata","nodeType":"YulIdentifier","src":"10895:26:2"},"nodeType":"YulFunctionCall","src":"10895:62:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"10887:4:2"}]},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10977:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"10988:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10973:3:2"},"nodeType":"YulFunctionCall","src":"10973:18:2"},{"name":"value2","nodeType":"YulIdentifier","src":"10993:6:2"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10966:6:2"},"nodeType":"YulFunctionCall","src":"10966:34:2"},"nodeType":"YulExpressionStatement","src":"10966:34:2"}]},"name":"abi_encode_tuple_t_string_calldata_ptr_t_uint256__to_t_string_memory_ptr_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10800:9:2","type":""},{"name":"value2","nodeType":"YulTypedName","src":"10811:6:2","type":""},{"name":"value1","nodeType":"YulTypedName","src":"10819:6:2","type":""},{"name":"value0","nodeType":"YulTypedName","src":"10827:6:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"10838:4:2","type":""}],"src":"10688:318:2"},{"body":{"nodeType":"YulBlock","src":"11185:160:2","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11202:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"11213:2:2","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11195:6:2"},"nodeType":"YulFunctionCall","src":"11195:21:2"},"nodeType":"YulExpressionStatement","src":"11195:21:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11236:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"11247:2:2","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11232:3:2"},"nodeType":"YulFunctionCall","src":"11232:18:2"},{"kind":"number","nodeType":"YulLiteral","src":"11252:2:2","type":"","value":"10"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11225:6:2"},"nodeType":"YulFunctionCall","src":"11225:30:2"},"nodeType":"YulExpressionStatement","src":"11225:30:2"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11275:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"11286:2:2","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11271:3:2"},"nodeType":"YulFunctionCall","src":"11271:18:2"},{"hexValue":"5a45524f5f4f574e4552","kind":"string","nodeType":"YulLiteral","src":"11291:12:2","type":"","value":"ZERO_OWNER"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11264:6:2"},"nodeType":"YulFunctionCall","src":"11264:40:2"},"nodeType":"YulExpressionStatement","src":"11264:40:2"},{"nodeType":"YulAssignment","src":"11313:26:2","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11325:9:2"},{"kind":"number","nodeType":"YulLiteral","src":"11336:2:2","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11321:3:2"},"nodeType":"YulFunctionCall","src":"11321:18:2"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"11313:4:2"}]}]},"name":"abi_encode_tuple_t_stringliteral_a26a6f6d56588264d1b79634a9c754f875b4d33ae9c27f6032762b2eb699cad5__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11162:9:2","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"11176:4:2","type":""}],"src":"11011:334:2"}]},"contents":"{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_encode_string(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n let i := 0\n for { } lt(i, length) { i := add(i, 0x20) }\n {\n let _1 := 0x20\n mstore(add(add(pos, i), _1), mload(add(add(value, i), _1)))\n }\n mstore(add(add(pos, length), 0x20), 0)\n end := add(add(pos, and(add(length, 31), not(31))), 0x20)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n tail := abi_encode_string(value0, add(headStart, 32))\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_decode_tuple_t_addresst_enum$_AgentStatus_$380(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n let value := calldataload(add(headStart, 32))\n if iszero(lt(value, 3)) { revert(0, 0) }\n value1 := value\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_decode_tuple_t_string_calldata_ptr(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let offset := calldataload(headStart)\n let _1 := 0xffffffffffffffff\n if gt(offset, _1) { revert(0, 0) }\n let _2 := add(headStart, offset)\n if iszero(slt(add(_2, 0x1f), dataEnd)) { revert(0, 0) }\n let length := calldataload(_2)\n if gt(length, _1) { revert(0, 0) }\n if gt(add(add(_2, length), 32), dataEnd) { revert(0, 0) }\n value0 := add(_2, 32)\n value1 := length\n }\n function abi_decode_tuple_t_bool(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n }\n function panic_error_0x21()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n function abi_encode_enum_AgentStatus(value, pos)\n {\n if iszero(lt(value, 3))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n mstore(pos, value)\n }\n function abi_encode_tuple_t_enum$_AgentStatus_$380__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n abi_encode_enum_AgentStatus(value0, headStart)\n }\n function abi_encode_tuple_t_struct$_AgentInfo_$392_memory_ptr__to_t_struct$_AgentInfo_$392_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), and(mload(value0), sub(shl(160, 1), 1)))\n let memberValue0 := mload(add(value0, 32))\n mstore(add(headStart, 64), 0xa0)\n let tail_1 := abi_encode_string(memberValue0, add(headStart, 192))\n mstore(add(headStart, 96), mload(add(value0, 64)))\n mstore(add(headStart, 128), mload(add(value0, 96)))\n let memberValue0_1 := mload(add(value0, 128))\n abi_encode_enum_AgentStatus(memberValue0_1, add(headStart, 0xa0))\n tail := tail_1\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n function abi_encode_tuple_t_stringliteral_497353054b8aaf467e1467445993a7540100e465c9d4ad766c3377a3c173bf69__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 9)\n mstore(add(headStart, 64), \"NOT_AGENT\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_ad8e292265788ac5c19f708ed96612bf3229f5fbdf9e1b9b3466c3f5a1b60243__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 11)\n mstore(add(headStart, 64), \"ZERO_AMOUNT\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_153c6a82d06260899a3190a7f053b8e53b5844ee1a57108f9b35d4e78ccddb58__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 20)\n mstore(add(headStart, 64), \"INSUFFICIENT_BALANCE\")\n tail := add(headStart, 96)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n diff := sub(x, y)\n if gt(diff, x) { panic_error_0x11() }\n }\n function abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n { end := pos }\n function abi_encode_tuple_t_stringliteral_8bf8f0d780f13740660fe63233b17f96cb1813889e7dce4121e55b817b367b72__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 15)\n mstore(add(headStart, 64), \"TRANSFER_FAILED\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_d4d6719c9f6bf1f398a61e7ceb8dff26d48346602421236409d0fb0b222f65b2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 9)\n mstore(add(headStart, 64), \"NOT_OWNER\")\n tail := add(headStart, 96)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function array_dataslot_string_storage(ptr) -> data\n {\n mstore(0, ptr)\n data := keccak256(0, 0x20)\n }\n function clean_up_bytearray_end_slots_string_storage(array, len, startIndex)\n {\n if gt(len, 31)\n {\n let _1 := 0\n mstore(_1, array)\n let data := keccak256(_1, 0x20)\n let deleteStart := add(data, shr(5, add(startIndex, 31)))\n if lt(startIndex, 0x20) { deleteStart := data }\n let _2 := add(data, shr(5, add(len, 31)))\n let start := deleteStart\n for { } lt(start, _2) { start := add(start, 1) }\n { sstore(start, _1) }\n }\n }\n function extract_used_part_and_set_length_of_short_byte_array(data, len) -> used\n {\n used := or(and(data, not(shr(shl(3, len), not(0)))), shl(1, len))\n }\n function copy_byte_array_to_storage_from_t_string_calldata_ptr_to_t_string_storage(slot, src, len)\n {\n if gt(len, 0xffffffffffffffff) { panic_error_0x41() }\n clean_up_bytearray_end_slots_string_storage(slot, extract_byte_array_length(sload(slot)), len)\n let srcOffset := 0\n switch gt(len, 31)\n case 1 {\n let loopEnd := and(len, not(31))\n let dstPtr := array_dataslot_string_storage(slot)\n let i := srcOffset\n for { } lt(i, loopEnd) { i := add(i, 0x20) }\n {\n sstore(dstPtr, calldataload(add(src, srcOffset)))\n dstPtr := add(dstPtr, 1)\n srcOffset := add(srcOffset, 0x20)\n }\n if lt(loopEnd, len)\n {\n sstore(dstPtr, and(calldataload(add(src, srcOffset)), not(shr(and(shl(3, len), 248), not(0)))))\n }\n sstore(slot, add(shl(1, len), 1))\n }\n default {\n let value := 0\n if len\n {\n value := calldataload(add(src, srcOffset))\n }\n sstore(slot, extract_used_part_and_set_length_of_short_byte_array(value, len))\n }\n }\n function abi_encode_string_calldata(start, length, pos) -> end\n {\n mstore(pos, length)\n calldatacopy(add(pos, 0x20), start, length)\n mstore(add(add(pos, length), 0x20), 0)\n end := add(add(pos, and(add(length, 31), not(31))), 0x20)\n }\n function abi_encode_tuple_t_string_calldata_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value1, value0) -> tail\n {\n mstore(headStart, 32)\n tail := abi_encode_string_calldata(value0, value1, add(headStart, 32))\n }\n function abi_encode_tuple_t_stringliteral_0c7dff25e27f91880a108fa8b1da75066db68f0d778484c87a9fb06d6f5e9ce6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 10)\n mstore(add(headStart, 64), \"ZERO_STAKE\")\n tail := add(headStart, 96)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n sum := add(x, y)\n if gt(x, sum) { panic_error_0x11() }\n }\n function abi_encode_tuple_t_bool_t_uint256__to_t_bool_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, iszero(iszero(value0)))\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_t_stringliteral_e2a7ea4962ff7134d37c21ee93f73a25055ef4e82879c6aee85351b8935a0c09__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 18)\n mstore(add(headStart, 64), \"INSUFFICIENT_STAKE\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_string_calldata_ptr_t_uint256__to_t_string_memory_ptr_t_uint256__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n mstore(headStart, 64)\n tail := abi_encode_string_calldata(value0, value1, add(headStart, 64))\n mstore(add(headStart, 32), value2)\n }\n function abi_encode_tuple_t_stringliteral_a26a6f6d56588264d1b79634a9c754f875b4d33ae9c27f6032762b2eb699cad5__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 10)\n mstore(add(headStart, 64), \"ZERO_OWNER\")\n tail := add(headStart, 96)\n }\n}","id":2,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"6080604052600436106100f35760003560e01c8063824619481161008a578063db89c04411610059578063db89c044146102c8578063f2c298be146102f5578063f2fde38b14610308578063fb3551ff1461032857600080fd5b806382461948146102135780638c80fd90146102335780638da5cb5b1461025357806397a5d5b51461028b57600080fd5b80633b17c736116100c65780633b17c7361461019457806342623360146101be57806357200a9e146101eb5780635a627dbc1461020b57600080fd5b806316a8c146146100f857806325d5971f1461012e578063278e07ce14610150578063375b3c0a14610170575b600080fd5b34801561010457600080fd5b50610118610113366004610c62565b610355565b6040516101259190610cca565b60405180910390f35b34801561013a57600080fd5b5061014e610149366004610cdd565b6103ef565b005b34801561015c57600080fd5b5061014e61016b366004610cf6565b6105c4565b34801561017c57600080fd5b5061018660065481565b604051908152602001610125565b3480156101a057600080fd5b506005546101ae9060ff1681565b6040519015158152602001610125565b3480156101ca57600080fd5b506101866101d9366004610c62565b60026020526000908152604090205481565b3480156101f757600080fd5b5061014e610206366004610d31565b610661565b61014e6106f8565b34801561021f57600080fd5b5061014e61022e366004610da3565b6107e0565b34801561023f57600080fd5b5061014e61024e366004610cdd565b61085c565b34801561025f57600080fd5b50600054610273906001600160a01b031681565b6040516001600160a01b039091168152602001610125565b34801561029757600080fd5b506102bb6102a6366004610c62565b60036020526000908152604090205460ff1681565b6040516101259190610dfd565b3480156102d457600080fd5b506101866102e3366004610c62565b60046020526000908152604090205481565b61014e610303366004610d31565b6108ca565b34801561031457600080fd5b5061014e610323366004610c62565b610a1c565b34801561033457600080fd5b50610348610343366004610c62565b610ae4565b6040516101259190610e11565b6001602052600090815260409020805461036e90610e6f565b80601f016020809104026020016040519081016040528092919081815260200182805461039a90610e6f565b80156103e75780601f106103bc576101008083540402835291602001916103e7565b820191906000526020600020905b8154815290600101906020018083116103ca57829003601f168201915b505050505081565b3360009081526003602052604081205460ff16600281111561041357610413610dc5565b036104395760405162461bcd60e51b815260040161043090610ea9565b60405180910390fd5b600081116104775760405162461bcd60e51b815260206004820152600b60248201526a16915493d7d05353d5539560aa1b6044820152606401610430565b336000908152600260205260409020548111156104cd5760405162461bcd60e51b8152602060048201526014602482015273494e53554646494349454e545f42414c414e434560601b6044820152606401610430565b33600090815260026020526040812080548392906104ec908490610ee2565b9091555050604051600090339083908381818185875af1925050503d8060008114610533576040519150601f19603f3d011682016040523d82523d6000602084013e610538565b606091505b505090508061057b5760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610430565b336000818152600260209081526040918290205491519182527f215c404371fa4ecbb9cb872650536271fefe9b730cc27ea247731ed776afabae91015b60405180910390a25050565b6000546001600160a01b031633146105ee5760405162461bcd60e51b815260040161043090610ef5565b6001600160a01b0382166000908152600360205260409020805482919060ff1916600183600281111561062357610623610dc5565b0217905550816001600160a01b03167f3ee366bd83c5cc24a1c3a11ee648e4ce0b12d519493df8b8394e11496eba747b826040516105b89190610dfd565b3360009081526003602052604081205460ff16600281111561068557610685610dc5565b036106a25760405162461bcd60e51b815260040161043090610ea9565b3360009081526001602052604090206106bc828483610f7d565b50336001600160a01b03167fb915c10d80f3a5a64f9cf6b674511d7c794c3419680d92ddf18339ae793ffb5783836040516105b8929190611067565b3360009081526003602052604081205460ff16600281111561071c5761071c610dc5565b036107395760405162461bcd60e51b815260040161043090610ea9565b600034116107765760405162461bcd60e51b815260206004820152600a6024820152695a45524f5f5354414b4560b01b6044820152606401610430565b3360009081526002602052604081208054349290610795908490611083565b9091555050336000818152600260209081526040918290205491519182527f215c404371fa4ecbb9cb872650536271fefe9b730cc27ea247731ed776afabae910160405180910390a2565b6000546001600160a01b0316331461080a5760405162461bcd60e51b815260040161043090610ef5565b6005805460ff19168215159081179091556006546040805192835260208301919091527fd0c5c0ab36955b328675886bff6554992f2484be1f3316b18681c2dc36d0a54091015b60405180910390a150565b6000546001600160a01b031633146108865760405162461bcd60e51b815260040161043090610ef5565b60068190556005546040805160ff90921615158252602082018390527fd0c5c0ab36955b328675886bff6554992f2484be1f3316b18681c2dc36d0a5409101610851565b60055460ff161561091c5760065434101561091c5760405162461bcd60e51b8152602060048201526012602482015271494e53554646494349454e545f5354414b4560701b6044820152606401610430565b336000908152600160205260409020610936828483610f7d565b503360009081526002602052604081208054349290610956908490611083565b90915550503360009081526003602052604081205460ff16600281111561097f5761097f610dc5565b036109d9573360008181526003602052604090819020805460ff1916600190811790915590517f3ee366bd83c5cc24a1c3a11ee648e4ce0b12d519493df8b8394e11496eba747b916109d091610dfd565b60405180910390a25b33600081815260026020526040908190205490517f023c5efe572c42192271951adb0e77f97d7fc84bc761d026189ac08617346824916105b89186918691611096565b6000546001600160a01b03163314610a465760405162461bcd60e51b815260040161043090610ef5565b6001600160a01b038116610a895760405162461bcd60e51b815260206004820152600a6024820152692d22a927afa7aba722a960b11b6044820152606401610430565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610aec610bfe565b6040805160a0810182526001600160a01b03841680825260009081526001602090815292902080549192830191610b2290610e6f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4e90610e6f565b8015610b9b5780601f10610b7057610100808354040283529160200191610b9b565b820191906000526020600020905b815481529060010190602001808311610b7e57829003601f168201915b50505091835250506001600160a01b03841660008181526002602081815260408084205482870152848452600482528084205481870152938352600390529190205460609092019160ff1690811115610bf657610bf6610dc5565b905292915050565b6040518060a0016040528060006001600160a01b0316815260200160608152602001600081526020016000815260200160006002811115610c4157610c41610dc5565b905290565b80356001600160a01b0381168114610c5d57600080fd5b919050565b600060208284031215610c7457600080fd5b610c7d82610c46565b9392505050565b6000815180845260005b81811015610caa57602081850181015186830182015201610c8e565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610c7d6020830184610c84565b600060208284031215610cef57600080fd5b5035919050565b60008060408385031215610d0957600080fd5b610d1283610c46565b9150602083013560038110610d2657600080fd5b809150509250929050565b60008060208385031215610d4457600080fd5b823567ffffffffffffffff80821115610d5c57600080fd5b818501915085601f830112610d7057600080fd5b813581811115610d7f57600080fd5b866020828501011115610d9157600080fd5b60209290920196919550909350505050565b600060208284031215610db557600080fd5b81358015158114610c7d57600080fd5b634e487b7160e01b600052602160045260246000fd5b60038110610df957634e487b7160e01b600052602160045260246000fd5b9052565b60208101610e0b8284610ddb565b92915050565b602080825282516001600160a01b03168282015282015160a06040830152600090610e3f60c0840182610c84565b905060408401516060840152606084015160808401526080840151610e6760a0850182610ddb565b509392505050565b600181811c90821680610e8357607f821691505b602082108103610ea357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600990820152681393d517d051d1539560ba1b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610e0b57610e0b610ecc565b6020808252600990820152682727aa2fa7aba722a960b91b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b601f821115610f7857600081815260208120601f850160051c81016020861015610f555750805b601f850160051c820191505b81811015610f7457828155600101610f61565b5050505b505050565b67ffffffffffffffff831115610f9557610f95610f18565b610fa983610fa38354610e6f565b83610f2e565b6000601f841160018114610fdd5760008515610fc55750838201355b600019600387901b1c1916600186901b178355611037565b600083815260209020601f19861690835b8281101561100e5786850135825560209485019460019092019101610fee565b508682101561102b5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60208152600061107b60208301848661103e565b949350505050565b80820180821115610e0b57610e0b610ecc565b6040815260006110aa60408301858761103e565b905082602083015294935050505056fea2646970667358221220d5494963c8750770719e7dce2325dc0c09835f067379cdcaa8a79958692872ae64736f6c63430008140033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0xF3 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x82461948 GT PUSH2 0x8A JUMPI DUP1 PUSH4 0xDB89C044 GT PUSH2 0x59 JUMPI DUP1 PUSH4 0xDB89C044 EQ PUSH2 0x2C8 JUMPI DUP1 PUSH4 0xF2C298BE EQ PUSH2 0x2F5 JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x308 JUMPI DUP1 PUSH4 0xFB3551FF EQ PUSH2 0x328 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x82461948 EQ PUSH2 0x213 JUMPI DUP1 PUSH4 0x8C80FD90 EQ PUSH2 0x233 JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x253 JUMPI DUP1 PUSH4 0x97A5D5B5 EQ PUSH2 0x28B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x3B17C736 GT PUSH2 0xC6 JUMPI DUP1 PUSH4 0x3B17C736 EQ PUSH2 0x194 JUMPI DUP1 PUSH4 0x42623360 EQ PUSH2 0x1BE JUMPI DUP1 PUSH4 0x57200A9E EQ PUSH2 0x1EB JUMPI DUP1 PUSH4 0x5A627DBC EQ PUSH2 0x20B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x16A8C146 EQ PUSH2 0xF8 JUMPI DUP1 PUSH4 0x25D5971F EQ PUSH2 0x12E JUMPI DUP1 PUSH4 0x278E07CE EQ PUSH2 0x150 JUMPI DUP1 PUSH4 0x375B3C0A EQ PUSH2 0x170 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x104 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x118 PUSH2 0x113 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH2 0x355 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x125 SWAP2 SWAP1 PUSH2 0xCCA JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x13A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x149 CALLDATASIZE PUSH1 0x4 PUSH2 0xCDD JUMP JUMPDEST PUSH2 0x3EF JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x15C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0xCF6 JUMP JUMPDEST PUSH2 0x5C4 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x17C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x186 PUSH1 0x6 SLOAD DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x125 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x5 SLOAD PUSH2 0x1AE SWAP1 PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x125 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x186 PUSH2 0x1D9 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x206 CALLDATASIZE PUSH1 0x4 PUSH2 0xD31 JUMP JUMPDEST PUSH2 0x661 JUMP JUMPDEST PUSH2 0x14E PUSH2 0x6F8 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x21F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x22E CALLDATASIZE PUSH1 0x4 PUSH2 0xDA3 JUMP JUMPDEST PUSH2 0x7E0 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x23F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x24E CALLDATASIZE PUSH1 0x4 PUSH2 0xCDD JUMP JUMPDEST PUSH2 0x85C JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x25F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x0 SLOAD PUSH2 0x273 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x125 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x297 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x2BB PUSH2 0x2A6 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x125 SWAP2 SWAP1 PUSH2 0xDFD JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2D4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x186 PUSH2 0x2E3 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 JUMP JUMPDEST PUSH2 0x14E PUSH2 0x303 CALLDATASIZE PUSH1 0x4 PUSH2 0xD31 JUMP JUMPDEST PUSH2 0x8CA JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x314 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x14E PUSH2 0x323 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH2 0xA1C JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x334 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x348 PUSH2 0x343 CALLDATASIZE PUSH1 0x4 PUSH2 0xC62 JUMP JUMPDEST PUSH2 0xAE4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x125 SWAP2 SWAP1 PUSH2 0xE11 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH2 0x36E SWAP1 PUSH2 0xE6F JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x39A SWAP1 PUSH2 0xE6F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x3E7 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x3BC JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x3E7 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x3CA JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP DUP2 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0xFF AND PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x413 JUMPI PUSH2 0x413 PUSH2 0xDC5 JUMP JUMPDEST SUB PUSH2 0x439 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEA9 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP2 GT PUSH2 0x477 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xB PUSH1 0x24 DUP3 ADD MSTORE PUSH11 0x16915493D7D05353D55395 PUSH1 0xAA SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 GT ISZERO PUSH2 0x4CD JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH20 0x494E53554646494349454E545F42414C414E4345 PUSH1 0x60 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x4EC SWAP1 DUP5 SWAP1 PUSH2 0xEE2 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD PUSH1 0x0 SWAP1 CALLER SWAP1 DUP4 SWAP1 DUP4 DUP2 DUP2 DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x533 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x538 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP POP SWAP1 POP DUP1 PUSH2 0x57B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xF PUSH1 0x24 DUP3 ADD MSTORE PUSH15 0x1514905394D1915497D19052531151 PUSH1 0x8A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 SLOAD SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH32 0x215C404371FA4ECBB9CB872650536271FEFE9B730CC27EA247731ED776AFABAE SWAP2 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x5EE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEF5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD DUP3 SWAP2 SWAP1 PUSH1 0xFF NOT AND PUSH1 0x1 DUP4 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x623 JUMPI PUSH2 0x623 PUSH2 0xDC5 JUMP JUMPDEST MUL OR SWAP1 SSTORE POP DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0x3EE366BD83C5CC24A1C3A11EE648E4CE0B12D519493DF8B8394E11496EBA747B DUP3 PUSH1 0x40 MLOAD PUSH2 0x5B8 SWAP2 SWAP1 PUSH2 0xDFD JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0xFF AND PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x685 JUMPI PUSH2 0x685 PUSH2 0xDC5 JUMP JUMPDEST SUB PUSH2 0x6A2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEA9 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0x6BC DUP3 DUP5 DUP4 PUSH2 0xF7D JUMP JUMPDEST POP CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xB915C10D80F3A5A64F9CF6B674511D7C794C3419680D92DDF18339AE793FFB57 DUP4 DUP4 PUSH1 0x40 MLOAD PUSH2 0x5B8 SWAP3 SWAP2 SWAP1 PUSH2 0x1067 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0xFF AND PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x71C JUMPI PUSH2 0x71C PUSH2 0xDC5 JUMP JUMPDEST SUB PUSH2 0x739 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEA9 JUMP JUMPDEST PUSH1 0x0 CALLVALUE GT PUSH2 0x776 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xA PUSH1 0x24 DUP3 ADD MSTORE PUSH10 0x5A45524F5F5354414B45 PUSH1 0xB0 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD CALLVALUE SWAP3 SWAP1 PUSH2 0x795 SWAP1 DUP5 SWAP1 PUSH2 0x1083 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 SLOAD SWAP2 MLOAD SWAP2 DUP3 MSTORE PUSH32 0x215C404371FA4ECBB9CB872650536271FEFE9B730CC27EA247731ED776AFABAE SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x80A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEF5 JUMP JUMPDEST PUSH1 0x5 DUP1 SLOAD PUSH1 0xFF NOT AND DUP3 ISZERO ISZERO SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE PUSH1 0x6 SLOAD PUSH1 0x40 DUP1 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH32 0xD0C5C0AB36955B328675886BFF6554992F2484BE1F3316B18681C2DC36D0A540 SWAP2 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x886 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEF5 JUMP JUMPDEST PUSH1 0x6 DUP2 SWAP1 SSTORE PUSH1 0x5 SLOAD PUSH1 0x40 DUP1 MLOAD PUSH1 0xFF SWAP1 SWAP3 AND ISZERO ISZERO DUP3 MSTORE PUSH1 0x20 DUP3 ADD DUP4 SWAP1 MSTORE PUSH32 0xD0C5C0AB36955B328675886BFF6554992F2484BE1F3316B18681C2DC36D0A540 SWAP2 ADD PUSH2 0x851 JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x91C JUMPI PUSH1 0x6 SLOAD CALLVALUE LT ISZERO PUSH2 0x91C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x12 PUSH1 0x24 DUP3 ADD MSTORE PUSH18 0x494E53554646494349454E545F5354414B45 PUSH1 0x70 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH2 0x936 DUP3 DUP5 DUP4 PUSH2 0xF7D JUMP JUMPDEST POP CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD CALLVALUE SWAP3 SWAP1 PUSH2 0x956 SWAP1 DUP5 SWAP1 PUSH2 0x1083 JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0xFF AND PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x97F JUMPI PUSH2 0x97F PUSH2 0xDC5 JUMP JUMPDEST SUB PUSH2 0x9D9 JUMPI CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 SWAP1 DUP2 OR SWAP1 SWAP2 SSTORE SWAP1 MLOAD PUSH32 0x3EE366BD83C5CC24A1C3A11EE648E4CE0B12D519493DF8B8394E11496EBA747B SWAP2 PUSH2 0x9D0 SWAP2 PUSH2 0xDFD JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD PUSH32 0x23C5EFE572C42192271951ADB0E77F97D7FC84BC761D026189AC08617346824 SWAP2 PUSH2 0x5B8 SWAP2 DUP7 SWAP2 DUP7 SWAP2 PUSH2 0x1096 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0xA46 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x430 SWAP1 PUSH2 0xEF5 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xA89 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xA PUSH1 0x24 DUP3 ADD MSTORE PUSH10 0x2D22A927AFA7ABA722A9 PUSH1 0xB1 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x430 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND SWAP4 SWAP3 AND SWAP2 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP2 LOG3 PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0xAEC PUSH2 0xBFE JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0xA0 DUP2 ADD DUP3 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND DUP1 DUP3 MSTORE PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE SWAP3 SWAP1 KECCAK256 DUP1 SLOAD SWAP2 SWAP3 DUP4 ADD SWAP2 PUSH2 0xB22 SWAP1 PUSH2 0xE6F JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0xB4E SWAP1 PUSH2 0xE6F JUMP JUMPDEST DUP1 ISZERO PUSH2 0xB9B JUMPI DUP1 PUSH1 0x1F LT PUSH2 0xB70 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0xB9B JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0xB7E JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP SWAP2 DUP4 MSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 SLOAD DUP3 DUP8 ADD MSTORE DUP5 DUP5 MSTORE PUSH1 0x4 DUP3 MSTORE DUP1 DUP5 KECCAK256 SLOAD DUP2 DUP8 ADD MSTORE SWAP4 DUP4 MSTORE PUSH1 0x3 SWAP1 MSTORE SWAP2 SWAP1 KECCAK256 SLOAD PUSH1 0x60 SWAP1 SWAP3 ADD SWAP2 PUSH1 0xFF AND SWAP1 DUP2 GT ISZERO PUSH2 0xBF6 JUMPI PUSH2 0xBF6 PUSH2 0xDC5 JUMP JUMPDEST SWAP1 MSTORE SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0xA0 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x60 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0xC41 JUMPI PUSH2 0xC41 PUSH2 0xDC5 JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xC5D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC74 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xC7D DUP3 PUSH2 0xC46 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD DUP1 DUP5 MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xCAA JUMPI PUSH1 0x20 DUP2 DUP6 ADD DUP2 ADD MLOAD DUP7 DUP4 ADD DUP3 ADD MSTORE ADD PUSH2 0xC8E JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x20 DUP3 DUP7 ADD ADD MSTORE PUSH1 0x20 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND DUP6 ADD ADD SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0xC7D PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xC84 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xCEF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xD09 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD12 DUP4 PUSH2 0xC46 JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH2 0xD26 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x20 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xD44 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0xD5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH2 0xD70 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0xD7F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP7 PUSH1 0x20 DUP3 DUP6 ADD ADD GT ISZERO PUSH2 0xD91 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 SWAP3 SWAP1 SWAP3 ADD SWAP7 SWAP2 SWAP6 POP SWAP1 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xDB5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0xC7D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0xDF9 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 MSTORE JUMP JUMPDEST PUSH1 0x20 DUP2 ADD PUSH2 0xE0B DUP3 DUP5 PUSH2 0xDDB JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 DUP3 ADD MSTORE DUP3 ADD MLOAD PUSH1 0xA0 PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x0 SWAP1 PUSH2 0xE3F PUSH1 0xC0 DUP5 ADD DUP3 PUSH2 0xC84 JUMP JUMPDEST SWAP1 POP PUSH1 0x40 DUP5 ADD MLOAD PUSH1 0x60 DUP5 ADD MSTORE PUSH1 0x60 DUP5 ADD MLOAD PUSH1 0x80 DUP5 ADD MSTORE PUSH1 0x80 DUP5 ADD MLOAD PUSH2 0xE67 PUSH1 0xA0 DUP6 ADD DUP3 PUSH2 0xDDB JUMP JUMPDEST POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0xE83 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 SUB PUSH2 0xEA3 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x9 SWAP1 DUP3 ADD MSTORE PUSH9 0x1393D517D051D15395 PUSH1 0xBA SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP2 DUP2 SUB DUP2 DUP2 GT ISZERO PUSH2 0xE0B JUMPI PUSH2 0xE0B PUSH2 0xECC JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x9 SWAP1 DUP3 ADD MSTORE PUSH9 0x2727AA2FA7ABA722A9 PUSH1 0xB9 SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1F DUP3 GT ISZERO PUSH2 0xF78 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP2 ADD PUSH1 0x20 DUP7 LT ISZERO PUSH2 0xF55 JUMPI POP DUP1 JUMPDEST PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP3 ADD SWAP2 POP JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0xF74 JUMPI DUP3 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0xF61 JUMP JUMPDEST POP POP POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP4 GT ISZERO PUSH2 0xF95 JUMPI PUSH2 0xF95 PUSH2 0xF18 JUMP JUMPDEST PUSH2 0xFA9 DUP4 PUSH2 0xFA3 DUP4 SLOAD PUSH2 0xE6F JUMP JUMPDEST DUP4 PUSH2 0xF2E JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1F DUP5 GT PUSH1 0x1 DUP2 EQ PUSH2 0xFDD JUMPI PUSH1 0x0 DUP6 ISZERO PUSH2 0xFC5 JUMPI POP DUP4 DUP3 ADD CALLDATALOAD JUMPDEST PUSH1 0x0 NOT PUSH1 0x3 DUP8 SWAP1 SHL SHR NOT AND PUSH1 0x1 DUP7 SWAP1 SHL OR DUP4 SSTORE PUSH2 0x1037 JUMP JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 SWAP1 KECCAK256 PUSH1 0x1F NOT DUP7 AND SWAP1 DUP4 JUMPDEST DUP3 DUP2 LT ISZERO PUSH2 0x100E JUMPI DUP7 DUP6 ADD CALLDATALOAD DUP3 SSTORE PUSH1 0x20 SWAP5 DUP6 ADD SWAP5 PUSH1 0x1 SWAP1 SWAP3 ADD SWAP2 ADD PUSH2 0xFEE JUMP JUMPDEST POP DUP7 DUP3 LT ISZERO PUSH2 0x102B JUMPI PUSH1 0x0 NOT PUSH1 0xF8 DUP9 PUSH1 0x3 SHL AND SHR NOT DUP5 DUP8 ADD CALLDATALOAD AND DUP2 SSTORE JUMPDEST POP POP PUSH1 0x1 DUP6 PUSH1 0x1 SHL ADD DUP4 SSTORE JUMPDEST POP POP POP POP POP JUMP JUMPDEST DUP2 DUP4 MSTORE DUP2 DUP2 PUSH1 0x20 DUP6 ADD CALLDATACOPY POP PUSH1 0x0 DUP3 DUP3 ADD PUSH1 0x20 SWAP1 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND SWAP1 SWAP2 ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 PUSH2 0x107B PUSH1 0x20 DUP4 ADD DUP5 DUP7 PUSH2 0x103E JUMP JUMPDEST SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST DUP1 DUP3 ADD DUP1 DUP3 GT ISZERO PUSH2 0xE0B JUMPI PUSH2 0xE0B PUSH2 0xECC JUMP JUMPDEST PUSH1 0x40 DUP2 MSTORE PUSH1 0x0 PUSH2 0x10AA PUSH1 0x40 DUP4 ADD DUP6 DUP8 PUSH2 0x103E JUMP JUMPDEST SWAP1 POP DUP3 PUSH1 0x20 DUP4 ADD MSTORE SWAP5 SWAP4 POP POP POP POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD5 0x49 0x49 PUSH4 0xC8750770 PUSH18 0x9E7DCE2325DC0C09835F067379CDCAA8A799 PC PUSH10 0x2872AE64736F6C634300 ADDMOD EQ STOP CALLER ","sourceMap":"125:3209:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;199:44;;;;;;;;;;-1:-1:-1;199:44:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2606:400;;;;;;;;;;-1:-1:-1;2606:400:0;;;;;:::i;:::-;;:::i;:::-;;2207:171;;;;;;;;;;-1:-1:-1;2207:171:0;;;;;:::i;:::-;;:::i;434:23::-;;;;;;;;;;;;;;;;;;;1717:25:2;;;1705:2;1690:18;434:23:0;1571:177:2;404:24:0;;;;;;;;;;-1:-1:-1;404:24:0;;;;;;;;;;;1918:14:2;;1911:22;1893:41;;1881:2;1866:18;404:24:0;1753:187:2;249:42:0;;;;;;;;;;-1:-1:-1;249:42:0;;;;;:::i;:::-;;;;;;;;;;;;;;2015:186;;;;;;;;;;-1:-1:-1;2015:186:0;;;;;:::i;:::-;;:::i;2384:216::-;;;:::i;1315:147::-;;;;;;;;;;-1:-1:-1;1315:147:0;;;;;:::i;:::-;;:::i;1151:158::-;;;;;;;;;;-1:-1:-1;1151:158:0;;;;;:::i;:::-;;:::i;172:20::-;;;;;;;;;;-1:-1:-1;172:20:0;;;;-1:-1:-1;;;;;172:20:0;;;;;;-1:-1:-1;;;;;2984:32:2;;;2966:51;;2954:2;2939:18;172:20:0;2820:203:2;297:47:0;;;;;;;;;;-1:-1:-1;297:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;350:::-;;;;;;;;;;-1:-1:-1;350:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;1468:541;;;;;;:::i;:::-;;:::i;941:204::-;;;;;;;;;;-1:-1:-1;941:204:0;;;;;:::i;:::-;;:::i;3012:320::-;;;;;;;;;;-1:-1:-1;3012:320:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;199:44::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2606:400::-;758:10;773:16;749:20;;;:8;:20;;;;;;;;:40;;;;;;;;:::i;:::-;;741:62;;;;-1:-1:-1;;;741:62:0;;;;;;;:::i;:::-;;;;;;;;;2700:1:::1;2691:6;:10;2683:34;;;::::0;-1:-1:-1;;;2683:34:0;;5252:2:2;2683:34:0::1;::::0;::::1;5234:21:2::0;5291:2;5271:18;;;5264:30;-1:-1:-1;;;5310:18:2;;;5303:41;5361:18;;2683:34:0::1;5050:335:2::0;2683:34:0::1;2743:10;2735:19;::::0;;;:7:::1;:19;::::0;;;;;:29;-1:-1:-1;2735:29:0::1;2727:62;;;::::0;-1:-1:-1;;;2727:62:0;;5592:2:2;2727:62:0::1;::::0;::::1;5574:21:2::0;5631:2;5611:18;;;5604:30;-1:-1:-1;;;5650:18:2;;;5643:50;5710:18;;2727:62:0::1;5390:344:2::0;2727:62:0::1;2807:10;2799:19;::::0;;;:7:::1;:19;::::0;;;;:29;;2822:6;;2799:19;:29:::1;::::0;2822:6;;2799:29:::1;:::i;:::-;::::0;;;-1:-1:-1;;2855:36:0::1;::::0;2840:9:::1;::::0;2855:10:::1;::::0;2879:6;;2840:9;2855:36;2840:9;2855:36;2879:6;2855:10;:36:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2839:52;;;2909:4;2901:32;;;::::0;-1:-1:-1;;;2901:32:0;;6416:2:2;2901:32:0::1;::::0;::::1;6398:21:2::0;6455:2;6435:18;;;6428:30;-1:-1:-1;;;6474:18:2;;;6467:45;6529:18;;2901:32:0::1;6214:339:2::0;2901:32:0::1;2967:10;2979:19;::::0;;;:7:::1;:19;::::0;;;;;;;;;2949:50;;1717:25:2;;;2949:50:0::1;::::0;1690:18:2;2949:50:0::1;;;;;;;;2673:333;2606:400:::0;:::o;2207:171::-;667:5;;-1:-1:-1;;;;;667:5:0;653:10;:19;645:41;;;;-1:-1:-1;;;645:41:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2299:15:0;::::1;;::::0;;;:8:::1;:15;::::0;;;;:24;;2317:6;;2299:15;-1:-1:-1;;2299:24:0::1;::::0;2317:6;2299:24:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;2357:5;-1:-1:-1::0;;;;;2338:33:0::1;;2364:6;2338:33;;;;;;:::i;2015:186::-:0;758:10;773:16;749:20;;;:8;:20;;;;;;;;:40;;;;;;;;:::i;:::-;;741:62;;;;-1:-1:-1;;;741:62:0;;;;;;;:::i;:::-;2117:10:::1;2106:22;::::0;;;:10:::1;:22;::::0;;;;:36:::1;2131:11:::0;;2106:22;:36:::1;:::i;:::-;;2170:10;-1:-1:-1::0;;;;;2157:37:0::1;;2182:11;;2157:37;;;;;;;:::i;2384:216::-:0;758:10;773:16;749:20;;;:8;:20;;;;;;;;:40;;;;;;;;:::i;:::-;;741:62;;;;-1:-1:-1;;;741:62:0;;;;;;;:::i;:::-;2470:1:::1;2458:9;:13;2450:36;;;::::0;-1:-1:-1;;;2450:36:0;;9811:2:2;2450:36:0::1;::::0;::::1;9793:21:2::0;9850:2;9830:18;;;9823:30;-1:-1:-1;;;9869:18:2;;;9862:40;9919:18;;2450:36:0::1;9609:334:2::0;2450:36:0::1;2504:10;2496:19;::::0;;;:7:::1;:19;::::0;;;;:32;;2519:9:::1;::::0;2496:19;:32:::1;::::0;2519:9;;2496:32:::1;:::i;:::-;::::0;;;-1:-1:-1;;2561:10:0::1;2573:19;::::0;;;:7:::1;:19;::::0;;;;;;;;;2543:50;;1717:25:2;;;2543:50:0::1;::::0;1690:18:2;2543:50:0::1;;;;;;;2384:216::o:0;1315:147::-;667:5;;-1:-1:-1;;;;;667:5:0;653:10;:19;645:41;;;;-1:-1:-1;;;645:41:0;;;;;;;:::i;:::-;1383:12:::1;:22:::0;;-1:-1:-1;;1383:22:0::1;::::0;::::1;;::::0;;::::1;::::0;;;1446:8:::1;::::0;1420:35:::1;::::0;;10246:41:2;;;10318:2;10303:18;;10296:34;;;;1420:35:0::1;::::0;10219:18:2;1420:35:0::1;;;;;;;;1315:147:::0;:::o;1151:158::-;667:5;;-1:-1:-1;;;;;667:5:0;653:10;:19;645:41;;;;-1:-1:-1;;;645:41:0;;;;;;;:::i;:::-;1222:8:::1;:22:::0;;;1276:12:::1;::::0;1259:43:::1;::::0;;1276:12:::1;::::0;;::::1;10271:14:2::0;10264:22;10246:41;;10318:2;10303:18;;10296:34;;;1259:43:0::1;::::0;10219:18:2;1259:43:0::1;10078:258:2::0;1468:541:0;1555:12;;;;1551:95;;;1604:8;;1591:9;:21;;1583:52;;;;-1:-1:-1;;;1583:52:0;;10543:2:2;1583:52:0;;;10525:21:2;10582:2;10562:18;;;10555:30;-1:-1:-1;;;10601:18:2;;;10594:48;10659:18;;1583:52:0;10341:342:2;1583:52:0;1667:10;1656:22;;;;:10;:22;;;;;:36;1681:11;;1656:22;:36;:::i;:::-;-1:-1:-1;1710:10:0;1702:19;;;;:7;:19;;;;;:32;;1725:9;;1702:19;:32;;1725:9;;1702:32;:::i;:::-;;;;-1:-1:-1;;1758:10:0;1773:16;1749:20;;;:8;:20;;;;;;;;:40;;;;;;;;:::i;:::-;;1745:181;;1814:10;1805:20;;;;:8;:20;;;;;;;:41;;-1:-1:-1;;1805:41:0;1828:18;1805:41;;;;;;1865:50;;;;;;;:::i;:::-;;;;;;;;1745:181;1957:10;1982:19;;;;:7;:19;;;;;;;;1941:61;;;;;;1969:11;;;;1941:61;:::i;941:204::-;667:5;;-1:-1:-1;;;;;667:5:0;653:10;:19;645:41;;;;-1:-1:-1;;;645:41:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;1023:22:0;::::1;1015:45;;;::::0;-1:-1:-1;;;1015:45:0;;11213:2:2;1015:45:0::1;::::0;::::1;11195:21:2::0;11252:2;11232:18;;;11225:30;-1:-1:-1;;;11271:18:2;;;11264:40;11321:18;;1015:45:0::1;11011:334:2::0;1015:45:0::1;1096:5;::::0;;1075:37:::1;::::0;-1:-1:-1;;;;;1075:37:0;;::::1;::::0;1096:5;::::1;::::0;1075:37:::1;::::0;::::1;1122:5;:16:::0;;-1:-1:-1;;;;;;1122:16:0::1;-1:-1:-1::0;;;;;1122:16:0;;;::::1;::::0;;;::::1;::::0;;941:204::o;3012:320::-;3077:16;;:::i;:::-;3112:213;;;;;;;;-1:-1:-1;;;;;3112:213:0;;;;;-1:-1:-1;3175:17:0;;;:10;3112:213;3175:17;;;;;;3112:213;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3112:213:0;;;-1:-1:-1;;;;;;;3213:14:0;;;;;;:7;3112:213;3213:14;;;;;;;;3112:213;;;;3258:19;;;:12;:19;;;;;;3112:213;;;;3299:15;;;:8;:15;;;;;;3112:213;;;;;3299:15;;;3112:213;;;;;;;:::i;:::-;;;3105:220;3012:320;-1:-1:-1;;3012:320:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;14:173:2:-;82:20;;-1:-1:-1;;;;;131:31:2;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;:::-;333:39;192:186;-1:-1:-1;;;192:186:2:o;383:423::-;425:3;463:5;457:12;490:6;485:3;478:19;515:1;525:162;539:6;536:1;533:13;525:162;;;601:4;657:13;;;653:22;;647:29;629:11;;;625:20;;618:59;554:12;525:162;;;529:3;732:1;725:4;716:6;711:3;707:16;703:27;696:38;795:4;788:2;784:7;779:2;771:6;767:15;763:29;758:3;754:39;750:50;743:57;;;383:423;;;;:::o;811:220::-;960:2;949:9;942:21;923:4;980:45;1021:2;1010:9;1006:18;998:6;980:45;:::i;1036:180::-;1095:6;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;-1:-1:-1;1187:23:2;;1036:180;-1:-1:-1;1036:180:2:o;1221:345::-;1304:6;1312;1365:2;1353:9;1344:7;1340:23;1336:32;1333:52;;;1381:1;1378;1371:12;1333:52;1404:29;1423:9;1404:29;:::i;:::-;1394:39;;1483:2;1472:9;1468:18;1455:32;1516:1;1509:5;1506:12;1496:40;;1532:1;1529;1522:12;1496:40;1555:5;1545:15;;;1221:345;;;;;:::o;1945:592::-;2016:6;2024;2077:2;2065:9;2056:7;2052:23;2048:32;2045:52;;;2093:1;2090;2083:12;2045:52;2133:9;2120:23;2162:18;2203:2;2195:6;2192:14;2189:34;;;2219:1;2216;2209:12;2189:34;2257:6;2246:9;2242:22;2232:32;;2302:7;2295:4;2291:2;2287:13;2283:27;2273:55;;2324:1;2321;2314:12;2273:55;2364:2;2351:16;2390:2;2382:6;2379:14;2376:34;;;2406:1;2403;2396:12;2376:34;2451:7;2446:2;2437:6;2433:2;2429:15;2425:24;2422:37;2419:57;;;2472:1;2469;2462:12;2419:57;2503:2;2495:11;;;;;2525:6;;-1:-1:-1;1945:592:2;;-1:-1:-1;;;;1945:592:2:o;2542:273::-;2598:6;2651:2;2639:9;2630:7;2626:23;2622:32;2619:52;;;2667:1;2664;2657:12;2619:52;2706:9;2693:23;2759:5;2752:13;2745:21;2738:5;2735:32;2725:60;;2781:1;2778;2771:12;3028:127;3089:10;3084:3;3080:20;3077:1;3070:31;3120:4;3117:1;3110:15;3144:4;3141:1;3134:15;3160:239;3243:1;3236:5;3233:12;3223:143;;3288:10;3283:3;3279:20;3276:1;3269:31;3323:4;3320:1;3313:15;3351:4;3348:1;3341:15;3223:143;3375:18;;3160:239::o;3404:211::-;3551:2;3536:18;;3563:46;3540:9;3591:6;3563:46;:::i;:::-;3404:211;;;;:::o;3620:703::-;3801:2;3783:21;;;3844:13;;-1:-1:-1;;;;;3840:39:2;3820:18;;;3813:67;3915:15;;3909:22;3867:3;3962:2;3947:18;;3940:32;-1:-1:-1;;3995:52:2;4042:3;4027:19;;3909:22;3995:52;:::i;:::-;3981:66;;4101:2;4093:6;4089:15;4083:22;4078:2;4067:9;4063:18;4056:50;4161:2;4153:6;4149:15;4143:22;4137:3;4126:9;4122:19;4115:51;4215:3;4207:6;4203:16;4197:23;4229:65;4288:4;4277:9;4273:20;4257:14;4229:65;:::i;:::-;-1:-1:-1;4311:6:2;3620:703;-1:-1:-1;;;3620:703:2:o;4328:380::-;4407:1;4403:12;;;;4450;;;4471:61;;4525:4;4517:6;4513:17;4503:27;;4471:61;4578:2;4570:6;4567:14;4547:18;4544:38;4541:161;;4624:10;4619:3;4615:20;4612:1;4605:31;4659:4;4656:1;4649:15;4687:4;4684:1;4677:15;4541:161;;4328:380;;;:::o;4713:332::-;4915:2;4897:21;;;4954:1;4934:18;;;4927:29;-1:-1:-1;;;4987:2:2;4972:18;;4965:39;5036:2;5021:18;;4713:332::o;5739:127::-;5800:10;5795:3;5791:20;5788:1;5781:31;5831:4;5828:1;5821:15;5855:4;5852:1;5845:15;5871:128;5938:9;;;5959:11;;;5956:37;;;5973:18;;:::i;6558:332::-;6760:2;6742:21;;;6799:1;6779:18;;;6772:29;-1:-1:-1;;;6832:2:2;6817:18;;6810:39;6881:2;6866:18;;6558:332::o;6895:127::-;6956:10;6951:3;6947:20;6944:1;6937:31;6987:4;6984:1;6977:15;7011:4;7008:1;7001:15;7153:545;7255:2;7250:3;7247:11;7244:448;;;7291:1;7316:5;7312:2;7305:17;7361:4;7357:2;7347:19;7431:2;7419:10;7415:19;7412:1;7408:27;7402:4;7398:38;7467:4;7455:10;7452:20;7449:47;;;-1:-1:-1;7490:4:2;7449:47;7545:2;7540:3;7536:12;7533:1;7529:20;7523:4;7519:31;7509:41;;7600:82;7618:2;7611:5;7608:13;7600:82;;;7663:17;;;7644:1;7633:13;7600:82;;;7604:3;;;7244:448;7153:545;;;:::o;7874:1206::-;7998:18;7993:3;7990:27;7987:53;;;8020:18;;:::i;:::-;8049:94;8139:3;8099:38;8131:4;8125:11;8099:38;:::i;:::-;8093:4;8049:94;:::i;:::-;8169:1;8194:2;8189:3;8186:11;8211:1;8206:616;;;;8866:1;8883:3;8880:93;;;-1:-1:-1;8939:19:2;;;8926:33;8880:93;-1:-1:-1;;7831:1:2;7827:11;;;7823:24;7819:29;7809:40;7855:1;7851:11;;;7806:57;8986:78;;8179:895;;8206:616;7100:1;7093:14;;;7137:4;7124:18;;-1:-1:-1;;8242:17:2;;;8343:9;8365:229;8379:7;8376:1;8373:14;8365:229;;;8468:19;;;8455:33;8440:49;;8575:4;8560:20;;;;8528:1;8516:14;;;;8395:12;8365:229;;;8369:3;8622;8613:7;8610:16;8607:159;;;8746:1;8742:6;8736:3;8730;8727:1;8723:11;8719:21;8715:34;8711:39;8698:9;8693:3;8689:19;8676:33;8672:79;8664:6;8657:95;8607:159;;;8809:1;8803:3;8800:1;8796:11;8792:19;8786:4;8779:33;8179:895;;;7874:1206;;;:::o;9085:267::-;9174:6;9169:3;9162:19;9226:6;9219:5;9212:4;9207:3;9203:14;9190:43;-1:-1:-1;9278:1:2;9253:16;;;9271:4;9249:27;;;9242:38;;;;9334:2;9313:15;;;-1:-1:-1;;9309:29:2;9300:39;;;9296:50;;9085:267::o;9357:247::-;9516:2;9505:9;9498:21;9479:4;9536:62;9594:2;9583:9;9579:18;9571:6;9563;9536:62;:::i;:::-;9528:70;9357:247;-1:-1:-1;;;;9357:247:2:o;9948:125::-;10013:9;;;10034:10;;;10031:36;;;10047:18;;:::i;10688:318::-;10875:2;10864:9;10857:21;10838:4;10895:62;10953:2;10942:9;10938:18;10930:6;10922;10895:62;:::i;:::-;10887:70;;10993:6;10988:2;10977:9;10973:18;10966:34;10688:318;;;;;;:::o"},"methodIdentifiers":{"addStake()":"5a627dbc","getAgent(address)":"fb3551ff","manifestOf(address)":"16a8c146","minStake()":"375b3c0a","owner()":"8da5cb5b","register(string)":"f2c298be","reputationOf(address)":"db89c044","setMinStake(uint256)":"8c80fd90","setStakeEnabled(bool)":"82461948","setStatus(address,uint8)":"278e07ce","stakeEnabled()":"3b17c736","stakeOf(address)":"42623360","statusOf(address)":"97a5d5b5","transferOwnership(address)":"f2fde38b","updateManifest(string)":"57200a9e","withdrawStake(uint256)":"25d5971f"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"manifestCID\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"}],\"name\":\"AgentRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newStake\",\"type\":\"uint256\"}],\"name\":\"AgentStakeChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enum IAgentRegistry.AgentStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"AgentStatusChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"manifestCID\",\"type\":\"string\"}],\"name\":\"AgentUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minStake\",\"type\":\"uint256\"}],\"name\":\"StakeGateUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"getAgent\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"manifestCID\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reputationScore\",\"type\":\"uint256\"},{\"internalType\":\"enum IAgentRegistry.AgentStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"internalType\":\"struct IAgentRegistry.AgentInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"manifestOf\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"manifestCID\",\"type\":\"string\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"reputationOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMinStake\",\"type\":\"uint256\"}],\"name\":\"setMinStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"setStakeEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"enum IAgentRegistry.AgentStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"setStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakeEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"stakeOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"statusOf\",\"outputs\":[{\"internalType\":\"enum IAgentRegistry.AgentStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"manifestCID\",\"type\":\"string\"}],\"name\":\"updateManifest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/AgentRegistry.sol\":\"AgentRegistry\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/AgentRegistry.sol\":{\"keccak256\":\"0x62fd3882c224da8815f29591e5e3afd7f4abe17ed97fdb08b568fd0cf360ee44\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f922cc1f81ee8d2ed5d441a8b56bd268b571f75fa61e3529688ad541710c259f\",\"dweb:/ipfs/QmPeKt6TUgofM68YSXq71rY9s6xR9KPcRdkf23ccrN9Udy\"]},\"contracts/interfaces/IAgentRegistry.sol\":{\"keccak256\":\"0xcdbd6081b86862e08671de2712b56a9ac5322ce1bc98931b22f829c2afb7329f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e3a7857c5a6bd6f5aabbe1b4bfd2ec69ca76a72845babfb7c71d4ac7a9e15d78\",\"dweb:/ipfs/QmYADPJith5sJhQNUwA3ENaro2A9SqkP66eH8aV3FeYm7G\"]}},\"version\":1}"}},"contracts/interfaces/IAgentRegistry.sol":{"IAgentRegistry":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"agent","type":"address"},{"indexed":false,"internalType":"string","name":"manifestCID","type":"string"},{"indexed":false,"internalType":"uint256","name":"stake","type":"uint256"}],"name":"AgentRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"agent","type":"address"},{"indexed":false,"internalType":"uint256","name":"newStake","type":"uint256"}],"name":"AgentStakeChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"agent","type":"address"},{"indexed":false,"internalType":"enum IAgentRegistry.AgentStatus","name":"status","type":"uint8"}],"name":"AgentStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"agent","type":"address"},{"indexed":false,"internalType":"string","name":"manifestCID","type":"string"}],"name":"AgentUpdated","type":"event"},{"inputs":[],"name":"addStake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"agent","type":"address"}],"name":"getAgent","outputs":[{"components":[{"internalType":"address","name":"agent","type":"address"},{"internalType":"string","name":"manifestCID","type":"string"},{"internalType":"uint256","name":"stake","type":"uint256"},{"internalType":"uint256","name":"reputationScore","type":"uint256"},{"internalType":"enum IAgentRegistry.AgentStatus","name":"status","type":"uint8"}],"internalType":"struct IAgentRegistry.AgentInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"manifestCID","type":"string"}],"name":"register","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"agent","type":"address"},{"internalType":"enum IAgentRegistry.AgentStatus","name":"status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"manifestCID","type":"string"}],"name":"updateManifest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawStake","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"addStake()":"5a627dbc","getAgent(address)":"fb3551ff","register(string)":"f2c298be","setStatus(address,uint8)":"278e07ce","updateManifest(string)":"57200a9e","withdrawStake(uint256)":"25d5971f"}},"metadata":"{\"compiler\":{\"version\":\"0.8.20+commit.a1b79de6\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"manifestCID\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"}],\"name\":\"AgentRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newStake\",\"type\":\"uint256\"}],\"name\":\"AgentStakeChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enum IAgentRegistry.AgentStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"AgentStatusChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"manifestCID\",\"type\":\"string\"}],\"name\":\"AgentUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"addStake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"}],\"name\":\"getAgent\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"manifestCID\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"stake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reputationScore\",\"type\":\"uint256\"},{\"internalType\":\"enum IAgentRegistry.AgentStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"internalType\":\"struct IAgentRegistry.AgentInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"manifestCID\",\"type\":\"string\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"agent\",\"type\":\"address\"},{\"internalType\":\"enum IAgentRegistry.AgentStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"setStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"manifestCID\",\"type\":\"string\"}],\"name\":\"updateManifest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IAgentRegistry.sol\":\"IAgentRegistry\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/interfaces/IAgentRegistry.sol\":{\"keccak256\":\"0xcdbd6081b86862e08671de2712b56a9ac5322ce1bc98931b22f829c2afb7329f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e3a7857c5a6bd6f5aabbe1b4bfd2ec69ca76a72845babfb7c71d4ac7a9e15d78\",\"dweb:/ipfs/QmYADPJith5sJhQNUwA3ENaro2A9SqkP66eH8aV3FeYm7G\"]}},\"version\":1}"}}}}}
|